|
|
@@ -917,7 +917,7 @@ public class FsCourseLinkServiceImpl implements IFsCourseLinkService
|
|
|
//获取微信token
|
|
|
final WxMaService wxService = WxMaConfiguration.getMaService(appId);
|
|
|
String token = wxService.getAccessToken();
|
|
|
- log.info("小程序TOKEN值-------->刷新前TOKEN:{}", token);
|
|
|
+ log.info("小程序TOKEN值-------->刷新前TOKEN:***");
|
|
|
HttpPost httpPost = new HttpPost("https://api.weixin.qq.com/wxa/generate_urllink?access_token=" + token);
|
|
|
JSONObject bodyObj = new JSONObject();
|
|
|
bodyObj.put("path", pageUrl);
|
|
|
@@ -936,10 +936,10 @@ public class FsCourseLinkServiceImpl implements IFsCourseLinkService
|
|
|
Integer curVersion = Integer.valueOf(version);
|
|
|
synchronized (TOKEN_VALID_CODE){
|
|
|
if(curVersion.equals(version)){
|
|
|
- log.info("小程序TOKEN:40001进入强制刷新-------->刷新前TOKEN:{}", token);
|
|
|
+ log.info("小程序TOKEN:40001进入强制刷新-------->刷新前TOKEN:***");
|
|
|
wxService.getAccessToken(true);
|
|
|
version = version.equals(Integer.MAX_VALUE) ? 0 : curVersion + 1;
|
|
|
- log.info("小程序TOKEN:40001进入强制刷新-------->刷新后TOKEN:{}", wxService.getAccessToken());
|
|
|
+ log.info("小程序TOKEN:40001进入强制刷新-------->刷新后TOKEN:***");
|
|
|
}
|
|
|
return getGotoWxAppLink(linkStr,appId);
|
|
|
}
|
|
|
@@ -1124,7 +1124,7 @@ public class FsCourseLinkServiceImpl implements IFsCourseLinkService
|
|
|
//获取微信token
|
|
|
final WxMaService wxService = WxMaConfiguration.getMaService(appId);
|
|
|
String token = wxService.getAccessToken();
|
|
|
- log.info("小程序TOKEN值-------->刷新前TOKEN:{}", token);
|
|
|
+ log.info("小程序TOKEN值-------->刷新前TOKEN:***");
|
|
|
HttpPost httpPost = new HttpPost("https://api.weixin.qq.com/wxa/generate_urllink?access_token=" + token);
|
|
|
JSONObject bodyObj = new JSONObject();
|
|
|
bodyObj.put("path", pageUrl);
|
|
|
@@ -1143,10 +1143,10 @@ public class FsCourseLinkServiceImpl implements IFsCourseLinkService
|
|
|
Integer curVersion = Integer.valueOf(version);
|
|
|
synchronized (TOKEN_VALID_CODE){
|
|
|
if(curVersion.equals(version)){
|
|
|
- log.info("小程序TOKEN:40001进入强制刷新-------->刷新前TOKEN:{}", token);
|
|
|
+ log.info("小程序TOKEN:40001进入强制刷新-------->刷新前TOKEN:***");
|
|
|
wxService.getAccessToken(true);
|
|
|
version = version.equals(Integer.MAX_VALUE) ? 0 : curVersion + 1;
|
|
|
- log.info("小程序TOKEN:40001进入强制刷新-------->刷新后TOKEN:{}", wxService.getAccessToken());
|
|
|
+ log.info("小程序TOKEN:40001进入强制刷新-------->刷新后TOKEN:***");
|
|
|
}
|
|
|
return getLiveWxaCodeGenerateScheme(linkStr,appId);
|
|
|
}
|