ソースを参照

调整为微服务版

java110 3 年 前
コミット
252b888403
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      service-user/src/main/java/com/java110/user/cmd/wechat/GetOpenIdByCodeCmd.java

+ 2 - 2
service-user/src/main/java/com/java110/user/cmd/wechat/GetOpenIdByCodeCmd.java

@@ -55,8 +55,8 @@ public class GetOpenIdByCodeCmd extends Cmd {
         String appId = "";
         String appId = "";
         String appSecret = "";
         String appSecret = "";
         if ("MALL".equals(reqJson.getString("appId"))) {
         if ("MALL".equals(reqJson.getString("appId"))) {
-            appId = MappingCache.getValue(MappingConstant.MALL_WECHAT_DOMAIN, "appId");
-            appSecret = MappingCache.getValue(MappingConstant.MALL_WECHAT_DOMAIN, "appSecret");
+            appId = MappingCache.getValue(MappingConstant.MALL_WECHAT_DOMAIN, "wechatAppId");
+            appSecret = MappingCache.getValue(MappingConstant.MALL_WECHAT_DOMAIN, "wechatAppSecret");
         } else {
         } else {
             SmallWeChatDto smallWeChatDto = new SmallWeChatDto();
             SmallWeChatDto smallWeChatDto = new SmallWeChatDto();
             smallWeChatDto.setAppId(reqJson.getString("appId"));
             smallWeChatDto.setAppId(reqJson.getString("appId"));