Browse Source

fix:阿里云没有网关鉴权 现在到浪潮云了有鉴权了 不能给无法识别的token。暂时注释掉

zhuyapeng 2 years ago
parent
commit
ed880ab4ad

+ 1 - 1
smsb-customer-manager-app/src/main/java/com/inspur/customer/service/wechat/WeChatServiceImpl.java

@@ -33,7 +33,7 @@ public class WeChatServiceImpl implements IWeChatService {
     public String queryTicket(String appKey, String userId, String authorization) {
         String url = String.format(HttpUrlConstant.QUERY_TICKET.replace("MSR_IDMS_TOP", MSR_IDMS_TOP), userId, appKey);
         HttpHeaders header = new HttpHeaders();
-        header.add("Authorization", authorization);
+        // header.add("Authorization", authorization);
         ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.GET, new HttpEntity<String>(header), String.class);
         log.info("获取二维码url: {}", url);
         return response.getBody();