Browse Source

解决ip验证方面bug

master
ssl 2 years ago
parent
commit
e138179dca
  1. 1
      vote/src/main/java/com/votesystem/ssl/service/impl/ActivityServiceImpl.java

1
vote/src/main/java/com/votesystem/ssl/service/impl/ActivityServiceImpl.java

@ -228,6 +228,7 @@ public Result listActivityByUser(String userName,int page, int size) {
activityFromDb.setStartTime(activity.getStartTime());
activityFromDb.setEndTime(activity.getEndTime());
activityFromDb.setUpdateTime(new Date());
activityFromDb.setIpRestrict(activity.isIpRestrict());
//保存到数据库
activityDAO.save(activityFromDb);
return ResultFactory.buildSuccessResult(activityFromDb);

Loading…
Cancel
Save