|
@@ -60,8 +60,8 @@ public class WeChatUtil {
|
|
|
paramMap.put("corpid", appKey);
|
|
|
} else if (type == 2) {
|
|
|
paramMap.put("grant_type", "client_credential");
|
|
|
- paramMap.put("appid", appKey);
|
|
|
- paramMap.put("secret", appSecret1);
|
|
|
+ paramMap.put("appid", mpAppKey);
|
|
|
+ paramMap.put("secret", mpAppSecret);
|
|
|
}
|
|
|
String result = HttpUtil.get(url, paramMap);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(result);
|