版本号修改为3.2

This commit is contained in:
taozi
2021-01-22 22:25:23 +08:00
committed by xuwenbo
parent c558ee3597
commit b5a122d1a5
5 changed files with 10 additions and 6 deletions

View File

@ -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 &

View File

@ -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

View File

@ -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:

View File

@ -69,7 +69,7 @@ logging:
yshop: yshop:
#相关配置 #相关配置
version: 3.1 version: 3.2
# 防止XSS攻击 # 防止XSS攻击
xss: xss:

View File

@ -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)) {