Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saasio
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
saasio
Commits
24b3c6db
Commit
24b3c6db
authored
Mar 22, 2018
by
xujia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.minrow.com:reyun/saasio
parents
b256d04a
5b275634
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
LoginController.java
src/main/java/com/reyun/controller/LoginController.java
+2
-1
applicationContext-schedule.xml
src/main/resources/applicationContext-schedule.xml
+1
-1
No files found.
src/main/java/com/reyun/controller/LoginController.java
View file @
24b3c6db
...
...
@@ -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
());
...
...
src/main/resources/applicationContext-schedule.xml
View file @
24b3c6db
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment