bug
This commit is contained in:
parent
c2229eb228
commit
edef89438d
@ -401,14 +401,12 @@ public class StoreServiceImpl extends ServiceImpl<MtStoreMapper, MtStore> implem
|
||||
List<TAccount> accountList = tAccountMapper.getStationmasterByStoreId(tAccount);
|
||||
|
||||
if (accountList != null && accountList.size() > 0) {
|
||||
redisTemplate.opsForValue().set(flag,flag,300, TimeUnit.SECONDS);
|
||||
redisTemplate.opsForValue().set(flag,flag,3000, TimeUnit.SECONDS);
|
||||
// Object codeInRedis = redisTemplate.opsForValue().get(flag);
|
||||
return redisTemplate.hasKey(flag);
|
||||
}else {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -177,7 +177,7 @@ public class BackendLoginController extends BaseController {
|
||||
if (ObjectUtils.isNotEmpty(one1.getTurnoverEndTime())){
|
||||
Date date = new Date();
|
||||
Date turnoverEndTime = one1.getTurnoverEndTime();
|
||||
if (date.compareTo(turnoverEndTime)<0){
|
||||
if (date.compareTo(turnoverEndTime)>0){
|
||||
return getFailureResult(201,"请付费后再登录!");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user