From edd99f22438e70895735add28524f54a8cd604bb Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 17 七月 2020 13:02:49 +0800
Subject: [PATCH] 优化代码
---
service-front/src/main/java/com/java110/front/smo/wxLogin/impl/WxLoginSMOImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/service-front/src/main/java/com/java110/front/smo/wxLogin/impl/WxLoginSMOImpl.java b/service-front/src/main/java/com/java110/front/smo/wxLogin/impl/WxLoginSMOImpl.java
index 556e6b4..a77dd06 100644
--- a/service-front/src/main/java/com/java110/front/smo/wxLogin/impl/WxLoginSMOImpl.java
+++ b/service-front/src/main/java/com/java110/front/smo/wxLogin/impl/WxLoginSMOImpl.java
@@ -84,8 +84,8 @@
String urlString = "?appid={appId}&secret={secret}&js_code={code}&grant_type={grantType}";
String response = outRestTemplate.getForObject(
wechatAuthProperties.getSessionHost() + urlString, String.class,
- wechatAuthProperties.getAppId(),
- wechatAuthProperties.getSecret(),
+ smallWeChatDto.getAppId(),
+ smallWeChatDto.getAppSecret(),
code,
wechatAuthProperties.getGrantType());
--
Gitblit v1.8.0