积分兑换后端开启。及积分支付
todo 下单选择类型,是积分计算积分。确认收货,不返积分,不计算佣金
This commit is contained in:
@ -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","订单生成失败");
|
||||
|
@ -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:
|
||||
# 从数据源开关/默认关闭
|
||||
|
Reference in New Issue
Block a user