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