feat:环境切换
This commit is contained in:
@@ -62,6 +62,9 @@ public class PushServiceImpl implements PushService {
|
|||||||
@Value("${xgj.api.auth.url}")
|
@Value("${xgj.api.auth.url}")
|
||||||
private String xgjUrl;
|
private String xgjUrl;
|
||||||
|
|
||||||
|
@Value("${xgj.api.token.url}")
|
||||||
|
private String xgjTokenUrl;
|
||||||
|
|
||||||
@Value("${xgj.api.auth.username}")
|
@Value("${xgj.api.auth.username}")
|
||||||
private String xgjUsername;
|
private String xgjUsername;
|
||||||
|
|
||||||
@@ -185,7 +188,7 @@ public class PushServiceImpl implements PushService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public XgjAccessTokenDTO getXgjAccessToken() {
|
public XgjAccessTokenDTO getXgjAccessToken() {
|
||||||
String apiUrl = "http://117.139.13.24:29000/oauth2/token?grant_type=client_credentials&scope=server";
|
String apiUrl = xgjTokenUrl + "/oauth2/token?grant_type=client_credentials&scope=server";
|
||||||
String clientId = "dmp-join";
|
String clientId = "dmp-join";
|
||||||
String clientSecret = "dmp20250528";
|
String clientSecret = "dmp20250528";
|
||||||
String auth = clientId + ":" + clientSecret;
|
String auth = clientId + ":" + clientSecret;
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ api.auth.secret=NzVrnS3OWiupdDY
|
|||||||
xgj.api.auth.url=https://masterdata.zhengxinfood.com
|
xgj.api.auth.url=https://masterdata.zhengxinfood.com
|
||||||
xgj.api.auth.username=6446346061e043e392dd53c9c8d1af0b
|
xgj.api.auth.username=6446346061e043e392dd53c9c8d1af0b
|
||||||
xgj.api.auth.secret=3ba6e4c5632547b8b2b3acefe08667bb
|
xgj.api.auth.secret=3ba6e4c5632547b8b2b3acefe08667bb
|
||||||
|
xgj.api.token.url=http://121.199.29.202:9000
|
||||||
|
|
||||||
#yunliushui
|
#yunliushui
|
||||||
yls.api.auth.url=http://yuanguiwuliu.com
|
yls.api.auth.url=http://yuanguiwuliu.com
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ api.auth.secret=H9YKHF6R7N16Fvy
|
|||||||
xgj.api.auth.url=http://117.139.13.24:11180
|
xgj.api.auth.url=http://117.139.13.24:11180
|
||||||
xgj.api.auth.username=6446346061e043e392dd53c9c8d1af0b
|
xgj.api.auth.username=6446346061e043e392dd53c9c8d1af0b
|
||||||
xgj.api.auth.secret=3ba6e4c5632547b8b2b3acefe08667bb
|
xgj.api.auth.secret=3ba6e4c5632547b8b2b3acefe08667bb
|
||||||
|
xgj.api.token.url=http://121.199.29.202:9000
|
||||||
|
|
||||||
#云流水账号
|
#云流水账号
|
||||||
#yls.api.auth.url=http://scm330-test.366ec.net
|
#yls.api.auth.url=http://scm330-test.366ec.net
|
||||||
|
|||||||
Reference in New Issue
Block a user