Commit 24b3c6db by xujia

Merge branch 'master' of git.minrow.com:reyun/saasio

parents b256d04a 5b275634
......@@ -87,8 +87,9 @@ public class LoginController
logger.info(email + "is login...");
Account account = loginService.login(email, password);
logger.info("login account:" + account.toString());
if (account != null) {
logger.info("login account:" + account.toString());
if(!account.getRoleCategory().equals(5L)) {
Boolean trackAndIoBothExhaust = accountFlowRestrictService.isIoExhaust(account.getId());
......
......@@ -12,6 +12,6 @@
<bean id="autoCalculateFlow" class="com.reyun.task.AutoCalculateFlow"></bean>
<task:scheduled-tasks>
<task:scheduled ref="autoCalculateFlow" method="run" cron="0 */6 * * * ?"/>
<task:scheduled ref="autoCalculateFlow" method="run" cron="0 0 7 * * ?"/>
</task:scheduled-tasks>
</beans>
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