|
|
@@ -187,9 +187,9 @@ public class WeChatServiceImgl implements IWeChatService {
|
|
|
deptDepartlist.addAll(departmentList);
|
|
|
}
|
|
|
|
|
|
- public WeChatJsConfigDto getJsConfig() throws Exception {
|
|
|
+ public WeChatJsConfigDto getJsConfig(String url) throws Exception {
|
|
|
WeChatJsConfigDto weChatJsConfigDto = new WeChatJsConfigDto();
|
|
|
- HashMap<String, Object> resultMap = weChatUtil.SdkSign("https://zhxy.cqtlzjzx.com/app", "jsapi");
|
|
|
+ HashMap<String, Object> resultMap = weChatUtil.SdkSign(url, "jsapi");
|
|
|
weChatJsConfigDto.setTimestamp(resultMap.get("timestamp").toString());
|
|
|
weChatJsConfigDto.setUrl(resultMap.get("url").toString());
|
|
|
weChatJsConfigDto.setSignature(resultMap.get("signature").toString());
|