版本号修改为3.2
This commit is contained in:
@ -1 +1 @@
|
|||||||
nohup java -jar yshop-api-2.0.jar --spring.profiles.active=prod &
|
nohup java -jar yshop-app-3.2.jar --spring.profiles.active=prod &
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
PID=$(ps -ef | grep yshop-api-2.0.jar | grep -v grep | awk '{ print $2 }')
|
PID=$(ps -ef | grep yshop-app-3.2.jar | grep -v grep | awk '{ print $2 }')
|
||||||
if [ -z "$PID" ];then
|
if [ -z "$PID" ];then
|
||||||
echo Application is already stopped
|
echo Application is already stopped
|
||||||
else
|
else
|
||||||
|
@ -47,7 +47,7 @@ smms:
|
|||||||
|
|
||||||
yshop:
|
yshop:
|
||||||
# 配置
|
# 配置
|
||||||
version: 3.1
|
version: 3.2
|
||||||
apiUrl: http://127.0.0.1:8009/api
|
apiUrl: http://127.0.0.1:8009/api
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
|
@ -69,7 +69,7 @@ logging:
|
|||||||
|
|
||||||
yshop:
|
yshop:
|
||||||
#相关配置
|
#相关配置
|
||||||
version: 3.1
|
version: 3.2
|
||||||
|
|
||||||
# 防止XSS攻击
|
# 防止XSS攻击
|
||||||
xss:
|
xss:
|
||||||
|
@ -1486,7 +1486,7 @@ public class YxStoreOrderServiceImpl extends BaseServiceImpl<StoreOrderMapper, Y
|
|||||||
YxStoreOrderQueryVo orderInfo = getOrderInfo(orderId,null);
|
YxStoreOrderQueryVo orderInfo = getOrderInfo(orderId,null);
|
||||||
|
|
||||||
//更新订单状态
|
//更新订单状态
|
||||||
LambdaQueryWrapper<YxStoreOrder> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<YxStoreOrder> wrapper = new LambdaQueryWrapper<>();
|
||||||
wrapper.eq(YxStoreOrder::getOrderId,orderId);
|
wrapper.eq(YxStoreOrder::getOrderId,orderId);
|
||||||
YxStoreOrder storeOrder = new YxStoreOrder();
|
YxStoreOrder storeOrder = new YxStoreOrder();
|
||||||
storeOrder.setPaid(OrderInfoEnum.PAY_STATUS_1.getValue());
|
storeOrder.setPaid(OrderInfoEnum.PAY_STATUS_1.getValue());
|
||||||
@ -1508,8 +1508,12 @@ public class YxStoreOrderServiceImpl extends BaseServiceImpl<StoreOrderMapper, Y
|
|||||||
if(orderInfo.getBargainId() > 0) {
|
if(orderInfo.getBargainId() > 0) {
|
||||||
storeBargainUserService.setBargainUserStatus(orderInfo.getBargainId(), orderInfo.getUid());
|
storeBargainUserService.setBargainUserStatus(orderInfo.getBargainId(), orderInfo.getUid());
|
||||||
}
|
}
|
||||||
|
|
||||||
YxUser userInfo = userService.getById(orderInfo.getUid());
|
YxUser userInfo = userService.getById(orderInfo.getUid());
|
||||||
|
//使用了积分扣积分
|
||||||
|
/*if(orderInfo.getUseIntegral().compareTo(BigDecimal.ZERO) > 0){
|
||||||
|
this.decIntegral(userInfo,orderInfo.getUseIntegral().doubleValue(),orderInfo.getDeductionPrice().doubleValue());
|
||||||
|
}*/
|
||||||
|
|
||||||
//增加流水
|
//增加流水
|
||||||
String payTypeMsg = PayTypeEnum.WEIXIN.getDesc();
|
String payTypeMsg = PayTypeEnum.WEIXIN.getDesc();
|
||||||
if(PayTypeEnum.YUE.getValue().equals(payType)) {
|
if(PayTypeEnum.YUE.getValue().equals(payType)) {
|
||||||
|
Reference in New Issue
Block a user