## 在线支付测试账号,不走配置,直接显示已有支付方式;
This commit is contained in:
parent
df62c304d7
commit
53548c48b0
|
@ -3,6 +3,7 @@ package com.hzs.third.pay.controller.api;
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.hzs.activity.base.IActivityServiceApi;
|
||||
import com.hzs.common.core.annotation.RepeatSubmitSimple;
|
||||
import com.hzs.common.core.constant.SysConstants;
|
||||
import com.hzs.common.core.domain.R;
|
||||
import com.hzs.common.core.enums.*;
|
||||
import com.hzs.common.core.utils.CommonUtil;
|
||||
|
@ -346,6 +347,11 @@ public class PayController {
|
|||
payConfigVO.setPay82((Boolean) redisTemplate.opsForValue().get(pay82));
|
||||
}
|
||||
|
||||
if (SysConstants.SPECIAL_CODE.equals(SecurityUtils.getMemberCode())) {
|
||||
// 在线支付测试账号,强制显示支付方式
|
||||
payConfigVO.setPay5(true);
|
||||
}
|
||||
|
||||
return AjaxResult.success(payConfigVO);
|
||||
}
|
||||
|
||||
|
|
|
@ -3,20 +3,11 @@ package com.hzs.third.pay.vo;
|
|||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description: 在线支付配置VO
|
||||
* @Author: jiang chao
|
||||
* @Time: 2022/11/16 13:42
|
||||
* @Classname: OnlinePayConfigVO
|
||||
* @PackageName: com.hzs.web.controller.onlinePayConfig.vo
|
||||
* 在线支付配置VO
|
||||
*/
|
||||
@Data
|
||||
public class OnlinePayConfigVO {
|
||||
|
||||
/**
|
||||
* 京东银行卡
|
||||
*/
|
||||
private Boolean pay4 = Boolean.FALSE;
|
||||
|
||||
/**
|
||||
* 京东收银台(H5)
|
||||
*/
|
||||
|
@ -26,29 +17,6 @@ public class OnlinePayConfigVO {
|
|||
*/
|
||||
private Boolean pay6 = Boolean.FALSE;
|
||||
|
||||
/**
|
||||
* 宝付微信
|
||||
*/
|
||||
private Boolean pay11 = Boolean.FALSE;
|
||||
/**
|
||||
* 宝付微信扫码
|
||||
*/
|
||||
private Boolean pay12 = Boolean.FALSE;
|
||||
|
||||
/**
|
||||
* 汇付微信
|
||||
*/
|
||||
private Boolean pay13 = Boolean.FALSE;
|
||||
/**
|
||||
* 汇付银行卡
|
||||
*/
|
||||
private Boolean pay15 = Boolean.FALSE;
|
||||
|
||||
/**
|
||||
* 微信APP
|
||||
*/
|
||||
private Boolean pay20 = Boolean.FALSE;
|
||||
|
||||
/**
|
||||
* 通联微信
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue