积分兑换后端开启。及积分支付

todo 下单选择类型,是积分计算积分。确认收货,不返积分,不计算佣金
This commit is contained in:
xuwenbo
2020-12-20 21:53:56 +08:00
parent 82b442c83f
commit 4222a6e41a
15 changed files with 78 additions and 2 deletions

View File

@ -240,6 +240,10 @@ public class OrderSupplyService {
storeOrderService.yuePay(orderId,uid);
map.put("payMsg","余额支付成功");
return map;
case INTEGRAL:
storeOrderService.integralPay(orderId,uid);
map.put("payMsg","积分兑换成功");
return map;
}
map.put("payMsg","订单生成失败");

View File

@ -7,7 +7,7 @@ spring:
master:
url: jdbc:mysql://localhost:3306/yshopb2c?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
username: root
password: root
password: 123456
# 从库数据源
slave:
# 从数据源开关/默认关闭