Browse Source

用户管理接口 接口

chejianzheng 3 months ago
parent
commit
d96996541d

+ 2 - 0
portal-service-infrastructure/src/main/java/com/hfln/portal/infrastructure/gateway/impl/UserGatewayImpl.java

@@ -331,7 +331,9 @@ public class UserGatewayImpl implements UserGateway {
             HttpEntity<String> request = new HttpEntity<>(param.toJSONString(), headers);
 
             // 发起请求
+            log.info("小程序获取电话号码,调用微信后台 url:{}, request:{}", url,  request);
             String response = restTemplate.postForObject(url, request, String.class);
+            log.info("小程序获取电话号码,调用微信后台 response:{}", response);
             JSONObject json = JSONObject.parseObject(response);
 
             // 判断微信返回是否成功