Commit 9b19c0e9 authored by xianjun's avatar xianjun

添加返回转byte

parent c9f56ab6
...@@ -2,6 +2,7 @@ package com.yanzuoguang.wxxcx.base; ...@@ -2,6 +2,7 @@ package com.yanzuoguang.wxxcx.base;
import com.yanzuoguang.util.helper.HttpHelper; import com.yanzuoguang.util.helper.HttpHelper;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import java.net.HttpURLConnection; import java.net.HttpURLConnection;
import java.util.HashMap; import java.util.HashMap;
...@@ -10,6 +11,7 @@ import java.util.Map; ...@@ -10,6 +11,7 @@ import java.util.Map;
/** /**
* @author 李贤军 * @author 李贤军
*/ */
@Component
public class WxXcxRequestByteArrayImpl implements WxXcxByteArrayRequest { public class WxXcxRequestByteArrayImpl implements WxXcxByteArrayRequest {
@Value("${yzg.wx.xwx.charset:utf-8}") @Value("${yzg.wx.xwx.charset:utf-8}")
......
...@@ -32,6 +32,7 @@ public class WxXcxWxaCodeGetUnlimitedRequest implements WxXcxRequestUrl, WxXcxRe ...@@ -32,6 +32,7 @@ public class WxXcxWxaCodeGetUnlimitedRequest implements WxXcxRequestUrl, WxXcxRe
@Override @Override
public String getUrlPara() { public String getUrlPara() {
accessToken.setAccess_token("58_2wqHumai7sfldQz_qE_wMxbNIyepaedLwi83MTQSIV8IibnXM4-azZ59N_SHBrlX0UnaLYQRSI3O3LwwgGBTkZa4CoiDtWA0cNnFu2Z_Rm7qUq5MMvPx0yYe9jXa7tms7wyh5iy0mK82YseIEZLhAIAMHT");
return HttpHelper.getUrlParameter(accessToken); return HttpHelper.getUrlParameter(accessToken);
} }
......
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