Browse Source

fixed 多租户收银端支付

fushengqian 3 months ago
parent
commit
47bca96f50

+ 2 - 2
fuint-application/src/main/java/com/fuint/common/service/impl/WeixinServiceImpl.java

@@ -1329,8 +1329,8 @@ public class WeixinServiceImpl implements WeixinService {
                    .domain(wxPayBean.getDomain())
                    .domain(wxPayBean.getDomain())
                    .build();
                    .build();
 
 
-        // 微信内h5公众号支付
-        if (platform.equals(PlatformTypeEnum.H5.getCode())) {
+        // 微信内h5公众号支付或PC收银
+        if (platform.equals(PlatformTypeEnum.H5.getCode()) || platform.equals(PlatformTypeEnum.PC.getCode())) {
             String wxAppId = env.getProperty("weixin.official.appId");
             String wxAppId = env.getProperty("weixin.official.appId");
             String wxAppSecret = env.getProperty("weixin.official.appSecret");
             String wxAppSecret = env.getProperty("weixin.official.appSecret");
 
 

+ 0 - 1
fuint-application/src/main/java/com/fuint/module/clientApi/controller/ClientSystemController.java

@@ -1,7 +1,6 @@
 package com.fuint.module.clientApi.controller;
 package com.fuint.module.clientApi.controller;
 
 
 import com.fuint.common.dto.ParamDto;
 import com.fuint.common.dto.ParamDto;
-import com.fuint.common.dto.StoreDto;
 import com.fuint.common.dto.StoreInfo;
 import com.fuint.common.dto.StoreInfo;
 import com.fuint.common.dto.UserInfo;
 import com.fuint.common.dto.UserInfo;
 import com.fuint.common.enums.StatusEnum;
 import com.fuint.common.enums.StatusEnum;