|
|
@ -361,8 +361,9 @@ public class SocialClientServiceImpl implements SocialClientService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{"errcode":0,"errmsg":"ok","url_link":"https:\/\/wxaurl.cn\/OeiPo041PJe"}
|
|
|
|
{"errcode":0,"errmsg":"ok","url_link":"https:\/\/wxaurl.cn\/OeiPo041PJe"}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
|
jsonObject.putOnce("path", "packageC/temporary/temporary");
|
|
|
|
jsonObject.putOnce("path", "pages/index/index");
|
|
|
|
jsonObject.putOnce("query", "r="+getLoginUserId());
|
|
|
|
jsonObject.putOnce("query", "r="+getLoginUserId());
|
|
|
|
jsonObject.putOnce("env_version", "develop");
|
|
|
|
jsonObject.putOnce("env_version", "develop");
|
|
|
|
String result = HttpUtil.post("https://api.weixin.qq.com/wxa/generate_urllink?access_token=ACCESS_TOKEN".replace("ACCESS_TOKEN", token.getStr("access_token")), jsonObject.toString());
|
|
|
|
String result = HttpUtil.post("https://api.weixin.qq.com/wxa/generate_urllink?access_token=ACCESS_TOKEN".replace("ACCESS_TOKEN", token.getStr("access_token")), jsonObject.toString());
|
|
|
|