版本号修改为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
echo Application is already stopped
else

View File

@ -47,7 +47,7 @@ smms:
yshop:
# 配置
version: 3.1
version: 3.2
apiUrl: http://127.0.0.1:8009/api
logging:

View File

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

View File

@ -1508,8 +1508,12 @@ public class YxStoreOrderServiceImpl extends BaseServiceImpl<StoreOrderMapper, Y
if(orderInfo.getBargainId() > 0) {
storeBargainUserService.setBargainUserStatus(orderInfo.getBargainId(), 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();
if(PayTypeEnum.YUE.getValue().equals(payType)) {