java110 %!s(int64=5) %!d(string=hai) anos
pai
achega
edd99f2243

+ 2 - 2
service-front/src/main/java/com/java110/front/smo/wxLogin/impl/WxLoginSMOImpl.java

@@ -84,8 +84,8 @@ public class WxLoginSMOImpl extends AppAbstractComponentSMO implements IWxLoginS
         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());