Commit 48c8d366 authored by xianjun's avatar xianjun

修改微信小程序接口文档

parent eb80da61
package com.yanzuoguang.wxxcx.dataanalysis.retain;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.yanzuoguang.util.helper.HttpHelper;
import com.yanzuoguang.util.helper.JsonHelper;
......@@ -28,9 +27,7 @@ public class WxXcxAnalysisGetDailyRetainRequest implements WxXcxRequestUrl, WxXc
@Override
public String getUrl() {
return "https://api.weixin.qq.com/datacube/getweanalysisappiddailyretaininfo" + "?" + this.getUrlPara();
// return wxXcxConfig.getBaseUrl() + wxXcxConfig.getAnalysisGetDailyRetainUrl() + "?" + this.getUrlPara();
return wxXcxConfig.getBaseUrl() + wxXcxConfig.getAnalysisGetDailyRetainUrl() + "?" + this.getUrlPara();
}
@Override
......@@ -40,7 +37,7 @@ public class WxXcxAnalysisGetDailyRetainRequest implements WxXcxRequestUrl, WxXc
@Override
public String getPost() {
return JSONObject.toJSONString(req);
return HttpHelper.getUrlParameter(req);
}
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