浏览代码

fixed 收银端扫码支付问题

fushengqian 4 月之前
父节点
当前提交
de5f0270a3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fuint-application/src/main/java/com/fuint/common/service/impl/WeixinServiceImpl.java

+ 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())
                    .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 wxAppSecret = env.getProperty("weixin.official.appSecret");