Commit 48c8d366 authored by xianjun's avatar xianjun

修改微信小程序接口文档

parent eb80da61
package com.yanzuoguang.wxxcx.dataanalysis.retain; package com.yanzuoguang.wxxcx.dataanalysis.retain;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.TypeReference;
import com.yanzuoguang.util.helper.HttpHelper; import com.yanzuoguang.util.helper.HttpHelper;
import com.yanzuoguang.util.helper.JsonHelper; import com.yanzuoguang.util.helper.JsonHelper;
...@@ -28,9 +27,7 @@ public class WxXcxAnalysisGetDailyRetainRequest implements WxXcxRequestUrl, WxXc ...@@ -28,9 +27,7 @@ public class WxXcxAnalysisGetDailyRetainRequest implements WxXcxRequestUrl, WxXc
@Override @Override
public String getUrl() { public String getUrl() {
return wxXcxConfig.getBaseUrl() + wxXcxConfig.getAnalysisGetDailyRetainUrl() + "?" + this.getUrlPara();
return "https://api.weixin.qq.com/datacube/getweanalysisappiddailyretaininfo" + "?" + this.getUrlPara();
// return wxXcxConfig.getBaseUrl() + wxXcxConfig.getAnalysisGetDailyRetainUrl() + "?" + this.getUrlPara();
} }
@Override @Override
...@@ -40,7 +37,7 @@ public class WxXcxAnalysisGetDailyRetainRequest implements WxXcxRequestUrl, WxXc ...@@ -40,7 +37,7 @@ public class WxXcxAnalysisGetDailyRetainRequest implements WxXcxRequestUrl, WxXc
@Override @Override
public String getPost() { public String getPost() {
return JSONObject.toJSONString(req); return HttpHelper.getUrlParameter(req);
} }
public WxXcxAnalysisGetDailyRetainRes getResponse() { public WxXcxAnalysisGetDailyRetainRes getResponse() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment