Commit 248c45c8 authored by 邓吉芬's avatar 邓吉芬

修改提示信息

parent 7e21abf3
......@@ -319,7 +319,7 @@ public class DrawManagerImpl implements IDrawManager {
public List<Prize> gainPrizeInfo(String phone, Long activityId){
List<Prize> prizeList = prizeService.listAllPrizes(activityId);
if (CollectionUtils.isEmpty(prizeList)) {
throw new BusinessException(ErrorEnum.DRAW_CHECK_EXP, "活动已结束!");
throw new BusinessException(ErrorEnum.DRAW_CHECK_EXP, "奖品已抽完,活动已结束!");
}
//获取限制抽奖的奖品
List<Prize> restrictPrizeList = prizeList.stream().filter(p->p.getAstrict()!=0 ).collect(Collectors.toList());
......
......@@ -11,9 +11,9 @@ spring:
strict: true
datasource:
db1:
url: jdbc:p6spy:mysql://127.0.0.1:3306/draw?characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
username: root
password: 123456
url: jdbc:p6spy:mysql://47.98.165.99:3637/draw?characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
username: mycpos
password: mycpos@888
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
type: com.zaxxer.hikari.HikariDataSource
db2: #十足
......@@ -24,9 +24,9 @@ spring:
type: com.zaxxer.hikari.HikariDataSource
redis:
database: 0
host: 121.4.252.201
host: 47.98.165.99
port: 6379
password: bubaozhanshen
password: redis@888
lettuce:
pool:
max-idle: 20
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment