| | |
| | | pd.getAppId()); |
| | | responseEntity = this.callCenterService(restTemplate, pd, "", |
| | | ServiceConstant.SERVICE_API_URL + "/api/smallWeChat.listSmallWeChats?appId=" |
| | | + paramIn.getString("appId"), HttpMethod.GET); |
| | | + paramIn.getString("appId")+"&page=1&row=1", HttpMethod.GET); |
| | | |
| | | if (responseEntity.getStatusCode() != HttpStatus.OK) { |
| | | return responseEntity; |
| | | } |
| | | |
| | | JSONArray smallWeChats = ownerInfo.getJSONArray("smallWeChats"); |
| | | JSONObject smallWechatObj = JSONObject.parseObject(responseEntity.getBody().toString()); |
| | | JSONArray smallWeChats = smallWechatObj.getJSONArray("smallWeChats"); |
| | | String appId = wechatAuthProperties.getAppId(); |
| | | String secret = wechatAuthProperties.getSecret(); |
| | | if (smallWeChats.size() > 0) { |