소스 검색

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

zhuyapeng 2 년 전
부모
커밋
ed880ab4ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      smsb-customer-manager-app/src/main/java/com/inspur/customer/service/wechat/WeChatServiceImpl.java

+ 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();