mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-09 15:52:30 +08:00
feat 后台-支付设置优化
fix 后台-支付方式缺少H5支付提示语
This commit is contained in:
@@ -83,7 +83,7 @@ public class PayServiceImpl implements IPayService {
|
||||
List<DevPayWay> devPayWays = devPayWayMapper.selectList(
|
||||
new QueryWrapper<DevPayWay>()
|
||||
.eq("scene", terminal)
|
||||
.eq("status", YesNoEnum.YES.getCode()).orderByDesc("is_default").orderByAsc("id"));
|
||||
.eq("status", YesNoEnum.YES.getCode()).orderByDesc("id"));
|
||||
|
||||
PayWayListVo vo = new PayWayListVo();
|
||||
if (from.equals("recharge")) {
|
||||
@@ -113,10 +113,11 @@ public class PayServiceImpl implements IPayService {
|
||||
if (devPayConfig.getPayWay().equals(PaymentEnum.ALI_PAY.getCode())) {
|
||||
infoVo.setExtra("支付宝快捷支付");
|
||||
}
|
||||
|
||||
list.add(infoVo);
|
||||
}
|
||||
|
||||
Collections.sort(list, Comparator.comparing(PayWayInfoVo::getSort).reversed()
|
||||
.thenComparing(Comparator.comparingInt(PayWayInfoVo::getId).reversed()));
|
||||
vo.setLists(list);
|
||||
return vo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user