java110 лет назад: 2
Родитель
Сommit
252b888403

+ 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 appSecret = "";
         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 {
             SmallWeChatDto smallWeChatDto = new SmallWeChatDto();
             smallWeChatDto.setAppId(reqJson.getString("appId"));