|
|
@@ -425,6 +425,8 @@ public class TtOpenComponentServiceImpl implements TtOpenComponentService { |
|
|
|
|
|
|
|
private String excuteRequet(String uri,String tokenKey,String tokenValue,String postData,boolean isCompontAccessToken,RequestMethod method) throws WxErrorException { |
|
|
|
String uriWithComponentAccessToken = uri + (uri.contains("?") ? "&" : "?") + tokenKey + "=" + tokenValue; |
|
|
|
log.info("uri------------"+uriWithComponentAccessToken); |
|
|
|
log.info("postData--------"+ postData); |
|
|
|
try { |
|
|
|
if (method == RequestMethod.POST) { |
|
|
|
return getTtOpenService().post(uriWithComponentAccessToken, postData); |
|
|
|