|
|
@@ -943,7 +943,12 @@ public class FsStorePaymentScrmServiceImpl implements IFsStorePaymentScrmService
|
|
|
storePayment.setRemark(StringUtils.isNotBlank(param.getRemark()) ? param.getRemark() : "商城收款订单支付");
|
|
|
storePayment.setOpenId(openId);
|
|
|
storePayment.setUserId(user.getUserId());
|
|
|
- storePayment.setPayMode("hf");//目前微信收款仅支持汇付
|
|
|
+
|
|
|
+ if (merchantAppConfig.getMerchantType().equals("wx")){
|
|
|
+ storePayment.setPayMode("wx");
|
|
|
+ }else if (merchantAppConfig.getMerchantType().equals("hf")) {
|
|
|
+ storePayment.setPayMode("hf");
|
|
|
+ }
|
|
|
storePayment.setAppId(param.getAppId());
|
|
|
if (fsStorePaymentMapper.insertFsStorePayment(storePayment) > 0) {
|
|
|
if (merchantAppConfig.getMerchantType().equals("wx")) {
|