소스 검색

微信登录

he2802 4 년 전
부모
커밋
8ba9f0bc3b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

+ 1 - 1
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

@@ -114,7 +114,7 @@ public class WxLoginService
         String openid = jsonObject1.get("openid")+"";
     //    WxLoginResultBo wxLoginResult = restTemplate.getForObject(url, WxLoginResultBo.class);
         String wxResult = obtainWxPhone(loginBody.getIv(),loginBody.getEncryptedData(),session_key);
-        return wxResult;
+        return openid+"@@"+session_key;
     }
 
     public String obtainWxPhone(String iv, String encryptedData,String session_key){