南网oss登录接口修改
This commit is contained in:
parent
be66d0b7a1
commit
1f52ede297
38
pom.xml
38
pom.xml
|
|
@ -202,6 +202,19 @@
|
|||
<version>${sgzb.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>9.0.81</version>
|
||||
<scope>compile</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>tomcat-annotations-api</artifactId>
|
||||
<groupId>org.apache.tomcat</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
|
@ -223,31 +236,6 @@
|
|||
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>8.5.94</version>
|
||||
<scope>compile</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>tomcat-annotations-api</artifactId>
|
||||
<groupId>org.apache.tomcat</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-el</artifactId>
|
||||
<version>8.5.94</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-websocket</artifactId>
|
||||
<version>8.5.94</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
|
|
|||
|
|
@ -9,15 +9,13 @@ import org.springframework.context.annotation.ComponentScan;
|
|||
|
||||
/**
|
||||
* 认证授权中心
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
@EnableRyFeignClients
|
||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
||||
public class SgzbAuthApplication
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
||||
public class SgzbAuthApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SgzbAuthApplication.class, args);
|
||||
System.out.println("(♥◠‿◠)ノ゙ 认证授权中心启动成功 ლ(´ڡ`ლ)゙ \n");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,16 +82,16 @@ public class NwLoginConstants {
|
|||
|
||||
public static String appAppsecret;
|
||||
|
||||
@Value("${appAppsecret}")
|
||||
/* @Value("${appAppsecret}")
|
||||
public void setAppAppsecret(String appAppsecret) {
|
||||
NwLoginConstants.appAppsecret = appAppsecret;
|
||||
}
|
||||
}*/
|
||||
|
||||
public static String appsecret;
|
||||
|
||||
public static String h5Appsecret;
|
||||
|
||||
@Value("${h5Appsecret}")
|
||||
/* @Value("${h5Appsecret}")
|
||||
public void setH5Appsecret(String h5Appsecret) {
|
||||
NwLoginConstants.h5Appsecret = h5Appsecret;
|
||||
}
|
||||
|
|
@ -99,7 +99,7 @@ public class NwLoginConstants {
|
|||
@Value("${appsecret}")
|
||||
public void setAppsecret(String appsecret) {
|
||||
NwLoginConstants.appsecret = appsecret;
|
||||
}
|
||||
}*/
|
||||
|
||||
public static String appId;
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ public class NwLoginConstants {
|
|||
public static String appAppId;
|
||||
|
||||
|
||||
@Value("${appAppId}")
|
||||
/* @Value("${appAppId}")
|
||||
public void setAppAppId(String appAppId) {
|
||||
NwLoginConstants.appAppId = appAppId;
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ public class NwLoginConstants {
|
|||
@Value("${appId}")
|
||||
public void setAppId(String appId) {
|
||||
NwLoginConstants.appId = appId;
|
||||
}
|
||||
}*/
|
||||
|
||||
@Value("${baseUrl}")
|
||||
public void setBaseUrl(String baseUrl) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue