Commit 996fff9c by carrieyzzhang

flow limit

parent d19ead05
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<!--Redis setting//end--> <!--Redis setting//end-->
<admin.url>http://localhost:8080</admin.url> <admin.url>http://localhost:8080</admin.url>
<awsneed>false</awsneed> <awsneed>false</awsneed>
<flowneed>false</flowneed>
<report.url>http://172.31.1.122:9010</report.url> <report.url>http://172.31.1.122:9010</report.url>
<admin.url>http://localhost:8080</admin.url> <admin.url>http://localhost:8080</admin.url>
...@@ -164,6 +165,7 @@ ...@@ -164,6 +165,7 @@
<!--Redis setting//end--> <!--Redis setting//end-->
<admin.url>http://localhost:8080</admin.url> <admin.url>http://localhost:8080</admin.url>
<awsneed>false</awsneed> <awsneed>false</awsneed>
<flowneed>false</flowneed>
<report.url>http://localhost:8003/</report.url> <report.url>http://localhost:8003/</report.url>
<admin.url>http://localhost:9020</admin.url> <admin.url>http://localhost:9020</admin.url>
...@@ -224,6 +226,7 @@ ...@@ -224,6 +226,7 @@
<awsneed>false</awsneed> <awsneed>false</awsneed>
<flowneed>true</flowneed>
<mail.host>smtp.exmail.qq.com</mail.host> <mail.host>smtp.exmail.qq.com</mail.host>
......
...@@ -92,7 +92,9 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic ...@@ -92,7 +92,9 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
String[] split1 = operate_email.split(","); String[] split1 = operate_email.split(",");
accountEmailList.addAll(Arrays.asList(split1)); accountEmailList.addAll(Arrays.asList(split1));
} }
//accountEmailList.add(rootAccount.getEmail()); if (Constant.flowneed.equals("true")) {
accountEmailList.add(rootAccount.getEmail());
}
Date lastMonth = getLastMonth(1); Date lastMonth = getLastMonth(1);
String firstDayOfLastMonth = DateUtil.getFirstDayOfMonth(lastMonth); String firstDayOfLastMonth = DateUtil.getFirstDayOfMonth(lastMonth);
......
...@@ -39,6 +39,7 @@ public class Constant { ...@@ -39,6 +39,7 @@ public class Constant {
public static String receiverHost = commonBundle.getString("receiver.host"); public static String receiverHost = commonBundle.getString("receiver.host");
public static String receiverPort = commonBundle.getString("receiver.port"); public static String receiverPort = commonBundle.getString("receiver.port");
public static String demoUrl = commonBundle.getString("demo.url"); public static String demoUrl = commonBundle.getString("demo.url");
public static String flowneed = commonBundle.getString("flowneed");
......
...@@ -11,3 +11,4 @@ iscache=${iscache} ...@@ -11,3 +11,4 @@ iscache=${iscache}
admin.url=${admin.url} admin.url=${admin.url}
trackingio.url=${trackingio.url} trackingio.url=${trackingio.url}
demo.url=${demo.url} demo.url=${demo.url}
flowneed=${flowneed}
\ No newline at end of file
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