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
996fff9c
Commit
996fff9c
authored
6 years ago
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flow limit
parent
d19ead05
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
pom.xml
pom.xml
+3
-0
AccountFlowRestrictServiceImpl.java
...om/reyun/service/impl/AccountFlowRestrictServiceImpl.java
+3
-1
Constant.java
src/main/java/com/reyun/util/Constant.java
+1
-0
common.properties
src/main/resources/common.properties
+3
-2
No files found.
pom.xml
View file @
996fff9c
...
...
@@ -56,6 +56,7 @@
<!--Redis setting//end-->
<admin.url>
http://localhost:8080
</admin.url>
<awsneed>
false
</awsneed>
<flowneed>
false
</flowneed>
<report.url>
http://172.31.1.122:9010
</report.url>
<admin.url>
http://localhost:8080
</admin.url>
...
...
@@ -164,6 +165,7 @@
<!--Redis setting//end-->
<admin.url>
http://localhost:8080
</admin.url>
<awsneed>
false
</awsneed>
<flowneed>
false
</flowneed>
<report.url>
http://localhost:8003/
</report.url>
<admin.url>
http://localhost:9020
</admin.url>
...
...
@@ -224,6 +226,7 @@
<awsneed>
false
</awsneed>
<flowneed>
true
</flowneed>
<mail.host>
smtp.exmail.qq.com
</mail.host>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/reyun/service/impl/AccountFlowRestrictServiceImpl.java
View file @
996fff9c
...
...
@@ -92,7 +92,9 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
String
[]
split1
=
operate_email
.
split
(
","
);
accountEmailList
.
addAll
(
Arrays
.
asList
(
split1
));
}
//accountEmailList.add(rootAccount.getEmail());
if
(
Constant
.
flowneed
.
equals
(
"true"
))
{
accountEmailList
.
add
(
rootAccount
.
getEmail
());
}
Date
lastMonth
=
getLastMonth
(
1
);
String
firstDayOfLastMonth
=
DateUtil
.
getFirstDayOfMonth
(
lastMonth
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/reyun/util/Constant.java
View file @
996fff9c
...
...
@@ -39,6 +39,7 @@ public class Constant {
public
static
String
receiverHost
=
commonBundle
.
getString
(
"receiver.host"
);
public
static
String
receiverPort
=
commonBundle
.
getString
(
"receiver.port"
);
public
static
String
demoUrl
=
commonBundle
.
getString
(
"demo.url"
);
public
static
String
flowneed
=
commonBundle
.
getString
(
"flowneed"
);
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/common.properties
View file @
996fff9c
...
...
@@ -10,4 +10,5 @@ awsneed=${awsneed}
iscache
=
${iscache}
admin.url
=
${admin.url}
trackingio.url
=
${trackingio.url}
demo.url
=
${demo.url}
\ No newline at end of file
demo.url
=
${demo.url}
flowneed
=
${flowneed}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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