积分模块相关接口
This commit is contained in:
parent
adb0e978d0
commit
763be9bc49
|
|
@ -3,7 +3,6 @@ package cn.ysk.cashier.mybatis.service.impl;
|
||||||
import cn.hutool.core.bean.BeanUtil;
|
import cn.hutool.core.bean.BeanUtil;
|
||||||
import cn.hutool.core.convert.Convert;
|
import cn.hutool.core.convert.Convert;
|
||||||
import cn.hutool.core.map.MapProxy;
|
import cn.hutool.core.map.MapProxy;
|
||||||
import cn.hutool.core.map.MapUtil;
|
|
||||||
import cn.hutool.core.util.NumberUtil;
|
import cn.hutool.core.util.NumberUtil;
|
||||||
import cn.hutool.core.util.StrUtil;
|
import cn.hutool.core.util.StrUtil;
|
||||||
import cn.ysk.cashier.exception.BadRequestException;
|
import cn.ysk.cashier.exception.BadRequestException;
|
||||||
|
|
@ -43,20 +42,9 @@ import java.util.Map;
|
||||||
@Service
|
@Service
|
||||||
public class TbPointsExchangeRecordServiceImpl extends ServiceImpl<TbPointsExchangeRecordMapper, TbPointsExchangeRecord> implements TbPointsExchangeRecordService {
|
public class TbPointsExchangeRecordServiceImpl extends ServiceImpl<TbPointsExchangeRecordMapper, TbPointsExchangeRecord> implements TbPointsExchangeRecordService {
|
||||||
|
|
||||||
private static final Map<String, String> payMethod = MapUtil.builder("POINTS", "积分支付")
|
|
||||||
.put("WECHAT", "积分+微信")
|
|
||||||
.put("ALIPAY", "积分+支付宝")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
@Value("${thirdPay.url}")
|
@Value("${thirdPay.url}")
|
||||||
private String thirdUrl;
|
private String thirdUrl;
|
||||||
|
|
||||||
@Value("${thirdPay.pointsGoodsOrderCallBack}")
|
|
||||||
private String pointsGoodsOrderCallBack;
|
|
||||||
|
|
||||||
@Resource
|
|
||||||
private TbPointsBasicSettingMapper tbPointsBasicSettingMapper;
|
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private TbPointsGoodsSettingMapper tbPointsGoodsSettingMapper;
|
private TbPointsGoodsSettingMapper tbPointsGoodsSettingMapper;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue