|
@@ -36,8 +36,9 @@ public class WechatController {
|
|
if (StringUtils.isNotBlank(code)) {
|
|
if (StringUtils.isNotBlank(code)) {
|
|
code = JSONObject.parseObject(code).getString("code");
|
|
code = JSONObject.parseObject(code).getString("code");
|
|
}
|
|
}
|
|
- String appSecret = "3989febf241b1ddd5a5411333a65303a";
|
|
|
|
- String appId = "wxa7b61655bfecc7bd";
|
|
|
|
|
|
+ //刷制品小程序appid
|
|
|
|
+ String appSecret = "ff62fc579b51a4f6636b08d9f9b25d69";
|
|
|
|
+ String appId = "wx1ada5448f249d1ad";
|
|
//获取接口调用凭证
|
|
//获取接口调用凭证
|
|
String url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" + appId + "&secret=" + appSecret;
|
|
String url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" + appId + "&secret=" + appSecret;
|
|
String jsonStr = HttpUtils.sendGet(url);
|
|
String jsonStr = HttpUtils.sendGet(url);
|