Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
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
manager
Commits
6c65e984
Commit
6c65e984
authored
Apr 26, 2019
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manaer 测试分支
parent
2971c585
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
66 additions
and
211 deletions
+66
-211
.gitignore
.gitignore
+1
-1
workspace.xml
.idea/workspace.xml
+0
-0
manage.iml
manage.iml
+6
-3
manager.iml
manager.iml
+0
-163
pom.xml
pom.xml
+27
-10
LoginController.java
src/main/java/common/controller/LoginController.java
+3
-0
UserServiceImpl.java
src/main/java/common/service/impl/UserServiceImpl.java
+5
-0
TrackAccountFlowRestrictServiceImpl.java
...ack/service/impl/TrackAccountFlowRestrictServiceImpl.java
+2
-13
applicationContext.xml
src/main/resources/spring/applicationContext.xml
+22
-21
No files found.
.gitignore
View file @
6c65e984
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
/.classpath
/.classpath
/.project
/.project
/.externalToolBuilders
/.externalToolBuilders
/
.idea/
.idea/
/node_modules/
/node_modules/
/dist/
/dist/
!/src/main/webapp/WEB-INF
!/src/main/webapp/WEB-INF
...
...
.idea/workspace.xml
View file @
6c65e984
This source diff could not be displayed because it is too large. You can
view the blob
instead.
manage.iml
View file @
6c65e984
...
@@ -11,8 +11,11 @@
...
@@ -11,8 +11,11 @@
</webroots>
</webroots>
</configuration>
</configuration>
</facet>
</facet>
<facet
type=
"Spring"
name=
"Spring"
>
<configuration
/>
</facet>
</component>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_8"
inherit-compiler-output=
"false"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_8"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
<content
url=
"file://$MODULE_DIR$"
>
<content
url=
"file://$MODULE_DIR$"
>
...
@@ -79,7 +82,7 @@
...
@@ -79,7 +82,7 @@
<orderEntry
type=
"module-library"
>
<orderEntry
type=
"module-library"
>
<library
name=
"Maven: com.alibaba:jconsole:1.8.0"
>
<library
name=
"Maven: com.alibaba:jconsole:1.8.0"
>
<CLASSES>
<CLASSES>
<root
url=
"jar://
E:/Java/jdk1.8.0_65
/lib/jconsole.jar!/"
/>
<root
url=
"jar://
D:/Program Files/Java/jdk1.8.0_181
/lib/jconsole.jar!/"
/>
</CLASSES>
</CLASSES>
<JAVADOC
/>
<JAVADOC
/>
<SOURCES
/>
<SOURCES
/>
...
@@ -88,7 +91,7 @@
...
@@ -88,7 +91,7 @@
<orderEntry
type=
"module-library"
>
<orderEntry
type=
"module-library"
>
<library
name=
"Maven: com.alibaba:tools:1.8.0"
>
<library
name=
"Maven: com.alibaba:tools:1.8.0"
>
<CLASSES>
<CLASSES>
<root
url=
"jar://
E:/Java/jdk1.8.0_65
/lib/tools.jar!/"
/>
<root
url=
"jar://
D:/Program Files/Java/jdk1.8.0_181
/lib/tools.jar!/"
/>
</CLASSES>
</CLASSES>
<JAVADOC
/>
<JAVADOC
/>
<SOURCES
/>
<SOURCES
/>
...
...
manager.iml
deleted
100644 → 0
View file @
2971c585
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"web"
name=
"Web"
>
<configuration>
<descriptors>
<deploymentDescriptor
name=
"web.xml"
url=
"file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml"
/>
</descriptors>
<webroots>
<root
url=
"file://$MODULE_DIR$/lib"
relative=
"WEB-INF/lib"
/>
<root
url=
"file://$MODULE_DIR$/src/main/webapp"
relative=
"/"
/>
</webroots>
</configuration>
</facet>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_8"
inherit-compiler-output=
"false"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/resources"
type=
"java-resource"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/target"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: javax.servlet:javax.servlet-api:3.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-core:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-logging:commons-logging:1.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-beans:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-web:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-webmvc:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-expression:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-context:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-context-support:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.data:spring-data-jpa:1.3.2.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.data:spring-data-commons:1.5.1.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-orm:3.1.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-jdbc:3.1.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.aspectj:aspectjrt:1.7.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-aspects:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.aspectj:aspectjweaver:1.8.9"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-aop:4.3.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.data:spring-data-redis:1.7.1.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.data:spring-data-keyvalue:1.1.1.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-tx:4.2.5.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-oxm:4.2.5.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: net.sf.ehcache:ehcache:2.9.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.googlecode.ehcache-spring-annotations:ehcache-spring-annotations:1.1.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: aopalliance:aopalliance:1.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: net.sf.ehcache:ehcache-core:2.1.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hibernate:hibernate-core:4.2.1.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: antlr:antlr:2.7.7"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: dom4j:dom4j:1.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:1.0.1.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hibernate:hibernate-entitymanager:4.2.1.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hibernate.common:hibernate-commons-annotations:4.0.1.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hibernate:hibernate-validator:5.0.0.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.validation:validation-api:1.1.0.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.jboss.logging:jboss-logging:3.1.1.GA"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml:classmate:0.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.glassfish.web:javax.el:2.2.4"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: javax.el:javax.el-api:2.2.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.xerial.snappy:snappy-java:1.1.2.6"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:slf4j-api:1.7.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:jcl-over-slf4j:1.7.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-classic:1.1.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-core:1.1.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-access:1.1.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.logback-extensions:logback-ext-spring:0.1.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.javassist:javassist:3.20.0-GA"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: mysql:mysql-connector-java:5.1.25"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-databind:2.8.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-core:2.8.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.inject:javax.inject:1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: redis.clients:jedis:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.commons:commons-pool2:2.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.alibaba:druid:1.0.14"
level=
"project"
/>
<orderEntry
type=
"module-library"
>
<library
name=
"Maven: com.alibaba:jconsole:1.8.0"
>
<CLASSES>
<root
url=
"jar://E:/Java/jdk1.8.0_65/lib/jconsole.jar!/"
/>
</CLASSES>
<JAVADOC
/>
<SOURCES
/>
</library>
</orderEntry>
<orderEntry
type=
"module-library"
>
<library
name=
"Maven: com.alibaba:tools:1.8.0"
>
<CLASSES>
<root
url=
"jar://E:/Java/jdk1.8.0_65/lib/tools.jar!/"
/>
</CLASSES>
<JAVADOC
/>
<SOURCES
/>
</library>
</orderEntry>
<orderEntry
type=
"library"
name=
"Maven: net.sf.json-lib:json-lib:jdk15:2.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-beanutils:commons-beanutils:1.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-collections:commons-collections:3.2.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: net.sf.ezmorph:ezmorph:1.0.6"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-lang:commons-lang:2.6"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.json:json:20090211"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-fileupload:commons-fileupload:1.2.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-io:commons-io:2.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.belerweb:pinyin4j:2.5.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.commons:commons-email:1.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.mail:mail:1.4.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.activation:activation:1.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: com.googlecode.jmockit:jmockit:1.5"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: com.googlecode.jmockit:jmockit-coverage:0.999.24"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.jdom:jdom:1.1.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.amazonaws:aws-java-sdk-dynamodb:1.11.52"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.amazonaws:aws-java-sdk-s3:1.11.52"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.amazonaws:aws-java-sdk-kms:1.11.52"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.amazonaws:aws-java-sdk-core:1.11.52"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.httpcomponents:httpclient:4.5.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.httpcomponents:httpcore:4.4.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: software.amazon.ion:ion-java:1.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.6"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.amazonaws:jmespath-java:1.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.jsoup:jsoup:1.6.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.codehaus.jettison:jettison:1.3.7"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: stax:stax-api:1.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.guava:guava:20.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-httpclient:commons-httpclient:3.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.sun.jersey:jersey-core:1.8"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.webjars.npm:isemail:2.1.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-net:commons-net:3.6"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: dnsjava:dnsjava:2.1.8"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.poi:poi:3.16"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-codec:commons-codec:1.10"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.commons:commons-collections4:4.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.poi:poi-ooxml:3.16"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.poi:poi-ooxml-schemas:3.16"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.xmlbeans:xmlbeans:2.6.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.github.virtuald:curvesapi:1.04"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.anarres.lzo:lzo-core:1.0.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.code.findbugs:annotations:2.0.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.netty:netty-all:4.0.23.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.code.gson:gson:1.6"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.api-ads:ads-lib:3.9.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.inject:guice:4.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.inject.extensions:guice-assistedinject:4.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.inject.extensions:guice-multibindings:4.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-configuration:commons-configuration:1.10"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: net.sf.opencsv:opencsv:1.8"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: joda-time:joda-time:2.8.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.api-client:google-api-client:1.22.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.oauth-client:google-oauth-client:1.22.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.api-ads:adwords-axis:3.9.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.api-ads:ads-lib-axis:3.9.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-discovery:commons-discovery:0.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.xml:jaxrpc-api:1.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.axis:axis:1.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: wsdl4j:wsdl4j:1.6.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.http-client:google-http-client-jackson2:1.22.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.http-client:google-http-client:1.22.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.code.findbugs:jsr305:1.3.9"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.beust:jcommander:1.48"
level=
"project"
/>
</component>
</module>
\ No newline at end of file
pom.xml
View file @
6c65e984
...
@@ -37,7 +37,8 @@
...
@@ -37,7 +37,8 @@
<!--数据源配置-->
<!--数据源配置-->
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
<!--//office-->
<!--//office-->
<default.datasource.url>
jdbc:mysql://192.168.2.57:3306/manager?characterEncoding=utf-8
</default.datasource.url>
<default.datasource.url>
jdbc:mysql://192.168.2.57:3306/manager?characterEncoding=utf-8
</default.datasource.url>
<default.datasource.username>
root
</default.datasource.username>
<default.datasource.username>
root
</default.datasource.username>
<default.datasource.password>
reyun123
</default.datasource.password>
<default.datasource.password>
reyun123
</default.datasource.password>
...
@@ -93,7 +94,8 @@
...
@@ -93,7 +94,8 @@
<!--数据源配置-->
<!--数据源配置-->
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
<!--//office-->
<!--//office-->
<default.datasource.url>
jdbc:mysql://10.3.20.32:3306/manager?characterEncoding=utf-8
</default.datasource.url>
<default.datasource.url>
jdbc:mysql://10.3.20.32:3306/manager?characterEncoding=utf-8
</default.datasource.url>
<default.datasource.username>
root
</default.datasource.username>
<default.datasource.username>
root
</default.datasource.username>
<default.datasource.password>
reyun.123
</default.datasource.password>
<default.datasource.password>
reyun.123
</default.datasource.password>
...
@@ -125,7 +127,8 @@
...
@@ -125,7 +127,8 @@
<!-- 单位是分钟-->
<!-- 单位是分钟-->
<mail.valid_time>
3
</mail.valid_time>
<mail.valid_time>
3
</mail.valid_time>
<report.url>
http://localhost:9010
</report.url>
<!--<report.url>http://localhost:9010</report.url>-->
<report.url>
http://http://10.3.20.41:11010
</report.url>
<!--Redis setting-->
<!--Redis setting-->
<redis.key.validtime>
120
</redis.key.validtime>
<redis.key.validtime>
120
</redis.key.validtime>
<redis.ip.requesttimes>
5
</redis.ip.requesttimes>
<redis.ip.requesttimes>
5
</redis.ip.requesttimes>
...
@@ -145,7 +148,9 @@
...
@@ -145,7 +148,9 @@
<id>
preview
</id>
<id>
preview
</id>
<properties>
<properties>
<label>
dev
</label>
<label>
dev
</label>
<datasource.url>
jdbc:mysql://reyuntest.c42s8pkbxrdg.rds.cn-north-1.amazonaws.com.cn:3306/trackingio_test?characterEncoding=utf-8
</datasource.url>
<datasource.url>
jdbc:mysql://reyuntest.c42s8pkbxrdg.rds.cn-north-1.amazonaws.com.cn:3306/trackingio_test?characterEncoding=utf-8
</datasource.url>
<datasource.username>
reyuntest
</datasource.username>
<datasource.username>
reyuntest
</datasource.username>
<datasource.password>
reyuntest
</datasource.password>
<datasource.password>
reyuntest
</datasource.password>
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
...
@@ -162,27 +167,39 @@
...
@@ -162,27 +167,39 @@
<!--数据源配置-->
<!--数据源配置-->
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
<datasource.driver>
com.mysql.jdbc.Driver
</datasource.driver>
<!--//office-->
<!--//office-->
<default.datasource.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8
</default.datasource.url>
<default.datasource.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8
</default.datasource.url>
<default.datasource.username>
trackingio
</default.datasource.username>
<default.datasource.username>
trackingio
</default.datasource.username>
<default.datasource.password>
trackingio
</default.datasource.password>
<default.datasource.password>
trackingio
</default.datasource.password>
<office.url>
jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/office?characterEncoding=utf-8
</office.url>
<office.url>
jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/office?characterEncoding=utf-8
</office.url>
<office.username>
office
</office.username>
<office.username>
office
</office.username>
<office.password>
office
</office.password>
<office.password>
office
</office.password>
<tkio.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/trackingio?characterEncoding=utf-8
</tkio.url>
<tkio.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/trackingio?characterEncoding=utf-8
</tkio.url>
<tkio.username>
trackingio
</tkio.username>
<tkio.username>
trackingio
</tkio.username>
<tkio.password>
trackingio
</tkio.password>
<tkio.password>
trackingio
</tkio.password>
<track.url>
jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/track?characterEncoding=utf-8
</track.url>
<track.url>
jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/track?characterEncoding=utf-8
</track.url>
<track.username>
admin
</track.username>
<track.username>
admin
</track.username>
<track.password>
admin!@#456
</track.password>
<track.password>
admin!@#456
</track.password>
<dmp.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8
</dmp.url>
<dmp.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8
</dmp.url>
<dmp.username>
trackingio
</dmp.username>
<dmp.username>
trackingio
</dmp.username>
<dmp.password>
trackingio
</dmp.password>
<dmp.password>
trackingio
</dmp.password>
<io.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/userio?characterEncoding=utf-8
</io.url>
<io.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/userio?characterEncoding=utf-8
</io.url>
<io.username>
reyun
</io.username>
<io.username>
reyun
</io.username>
<io.password>
Reyun123
</io.password>
<io.password>
Reyun123
</io.password>
...
...
src/main/java/common/controller/LoginController.java
View file @
6c65e984
...
@@ -113,4 +113,7 @@ public class LoginController {
...
@@ -113,4 +113,7 @@ public class LoginController {
return
ResultModel
.
OK
(
true
);
return
ResultModel
.
OK
(
true
);
}
}
}
}
src/main/java/common/service/impl/UserServiceImpl.java
View file @
6c65e984
...
@@ -353,5 +353,10 @@ public class UserServiceImpl implements UserService {
...
@@ -353,5 +353,10 @@ public class UserServiceImpl implements UserService {
return
result
;
return
result
;
}
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
CipherUtil
.
generatePassword
(
"111111"
));
}
}
}
src/main/java/track/service/impl/TrackAccountFlowRestrictServiceImpl.java
View file @
6c65e984
package
track
.
service
.
impl
;
package
track
.
service
.
impl
;
import
org.json.JSONArray
;
import
org.json.JSONException
;
import
org.json.JSONObject
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.StringUtils
;
import
tkio.model.AccountRestrict4Web
;
import
track.model.Account
;
import
track.model.Account
;
import
track.model.App
;
import
track.model.App
;
import
track.repository.MeasureRepository
;
import
track.repository.MeasureRepository
;
import
track.repository.TrackAppRepository
;
import
track.repository.TrackAppRepository
;
import
track.service.TrackAccountFlowRestrictService
;
import
track.service.TrackAccountFlowRestrictService
;
import
util.Constant
;
import
util.DateUtil
;
import
util.DateUtil
;
import
util.HttpClientUtil
;
import
util.ValidateUtil
;
import
util.ValidateUtil
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.math.BigInteger
;
import
java.text.DecimalFormat
;
import
java.util.ArrayList
;
import
java.text.SimpleDateFormat
;
import
java.util.List
;
import
java.util.*
;
/**
/**
* Created by song on 2017/10/19.
* Created by song on 2017/10/19.
...
...
src/main/resources/spring/applicationContext.xml
View file @
6c65e984
...
@@ -16,29 +16,30 @@
...
@@ -16,29 +16,30 @@
<description>
Spring公共配置
</description>
<description>
Spring公共配置
</description>
<aop:aspectj-autoproxy
proxy-target-class=
"true"
/>
<aop:aspectj-autoproxy
proxy-target-class=
"true"
/>
<context:component-scan
base-package=
"tkio"
/>
<context:component-scan
base-package=
"tkio"
/>
<context:component-scan
base-package=
"track"
/>
<context:component-scan
base-package=
"track"
/>
<context:component-scan
base-package=
"userio"
/>
<context:component-scan
base-package=
"userio"
/>
<context:component-scan
base-package=
"common"
/>
<context:component-scan
base-package=
"common"
/>
<context:component-scan
base-package=
"office"
/>
<context:component-scan
base-package=
"office"
/>
<context:component-scan
base-package=
"dmp"
/>
<context:component-scan
base-package=
"dmp"
/>
<context:component-scan
base-package=
"security"
/>
<context:component-scan
base-package=
"security"
/>
<context:component-scan
base-package=
"adi"
/>
<context:component-scan
base-package=
"adi"
/>
<context:property-placeholder
location=
"classpath:persistence.properties,classpath:redis.properties"
/>
<context:property-placeholder
location=
"classpath:persistence.properties,classpath:redis.properties"
/>
<!--Redis配置-->
<!--Redis配置-->
<bean
id=
"poolConfig"
class=
"redis.clients.jedis.JedisPoolConfig"
>
<bean
id=
"poolConfig"
class=
"redis.clients.jedis.JedisPoolConfig"
>
<property
name=
"maxIdle"
value=
"300"
/>
<property
name=
"maxIdle"
value=
"300"
/>
<property
name=
"maxTotal"
value=
"600"
/>
<property
name=
"maxTotal"
value=
"600"
/>
<property
name=
"maxWaitMillis"
value=
"1000"
></property>
<property
name=
"maxWaitMillis"
value=
"1000"
></property>
<property
name=
"testOnBorrow"
value=
"true"
/>
<property
name=
"testOnBorrow"
value=
"true"
/>
</bean>
</bean>
<bean
id=
"connectionFactory"
class=
"org.springframework.data.redis.connection.jedis.JedisConnectionFactory"
p:hostName=
"${redis.Surl.host}"
p:port=
"${redis.Surl.port}"
p:poolConfig-ref=
"poolConfig"
/>
<bean
id=
"connectionFactory"
class=
"org.springframework.data.redis.connection.jedis.JedisConnectionFactory"
p:hostName=
"${redis.Surl.host}"
p:port=
"${redis.Surl.port}"
p:poolConfig-ref=
"poolConfig"
/>
<bean
id=
"redisTemplate"
class=
"org.springframework.data.redis.core.StringRedisTemplate"
>
<bean
id=
"redisTemplate"
class=
"org.springframework.data.redis.core.StringRedisTemplate"
>
<property
name=
"connectionFactory"
ref=
"connectionFactory"
/>
<property
name=
"connectionFactory"
ref=
"connectionFactory"
/>
</bean>
</bean>
<!--//Redis配置 -->
<!--//Redis配置 -->
...
@@ -93,7 +94,7 @@
...
@@ -93,7 +94,7 @@
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"packagesToScan"
value=
"common.model"
>
<property
name=
"packagesToScan"
value=
"common.model"
>
</property>
</property>
<property
name=
"persistenceUnitName"
value=
"defaultUnit"
/>
<property
name=
"persistenceUnitName"
value=
"defaultUnit"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaProperties"
>
<property
name=
"jpaProperties"
>
...
@@ -111,7 +112,7 @@
...
@@ -111,7 +112,7 @@
<bean
id=
"officeEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<bean
id=
"officeEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<property
name=
"dataSource"
ref=
"officeDataSource"
/>
<property
name=
"dataSource"
ref=
"officeDataSource"
/>
<property
name=
"packagesToScan"
value=
"office.model"
></property>
<property
name=
"packagesToScan"
value=
"office.model"
></property>
<property
name=
"persistenceUnitName"
value=
"officeUnit"
/>
<property
name=
"persistenceUnitName"
value=
"officeUnit"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaProperties"
>
<property
name=
"jpaProperties"
>
...
@@ -125,11 +126,11 @@
...
@@ -125,11 +126,11 @@
<prop
key=
"hibernate.connection.useUnicode"
>
true
</prop>
<prop
key=
"hibernate.connection.useUnicode"
>
true
</prop>
</props>
</props>
</property>
</property>
</bean>
</bean>
<bean
id=
"tkioEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<bean
id=
"tkioEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<property
name=
"dataSource"
ref=
"tkioDataSource"
/>
<property
name=
"dataSource"
ref=
"tkioDataSource"
/>
<property
name=
"packagesToScan"
value=
"tkio.model"
></property>
<property
name=
"packagesToScan"
value=
"tkio.model"
></property>
<property
name=
"persistenceUnitName"
value=
"tkioUnit"
/>
<property
name=
"persistenceUnitName"
value=
"tkioUnit"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaProperties"
>
<property
name=
"jpaProperties"
>
...
@@ -147,7 +148,7 @@
...
@@ -147,7 +148,7 @@
<bean
id=
"trackEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<bean
id=
"trackEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<property
name=
"dataSource"
ref=
"trackDataSource"
/>
<property
name=
"dataSource"
ref=
"trackDataSource"
/>
<property
name=
"packagesToScan"
value=
"track.model"
></property>
<property
name=
"packagesToScan"
value=
"track.model"
></property>
<property
name=
"persistenceUnitName"
value=
"tkrackUnit"
/>
<property
name=
"persistenceUnitName"
value=
"tkrackUnit"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaProperties"
>
<property
name=
"jpaProperties"
>
...
@@ -165,7 +166,7 @@
...
@@ -165,7 +166,7 @@
<bean
id=
"dmpEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<bean
id=
"dmpEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<property
name=
"dataSource"
ref=
"dmpDataSource"
/>
<property
name=
"dataSource"
ref=
"dmpDataSource"
/>
<property
name=
"packagesToScan"
value=
"dmp.model"
></property>
<property
name=
"packagesToScan"
value=
"dmp.model"
></property>
<property
name=
"persistenceUnitName"
value=
"dmpUnit"
/>
<property
name=
"persistenceUnitName"
value=
"dmpUnit"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaProperties"
>
<property
name=
"jpaProperties"
>
...
@@ -183,7 +184,7 @@
...
@@ -183,7 +184,7 @@
<bean
id=
"ioEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<bean
id=
"ioEntityManagerFactory"
class=
"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
>
<property
name=
"dataSource"
ref=
"ioDataSource"
/>
<property
name=
"dataSource"
ref=
"ioDataSource"
/>
<property
name=
"packagesToScan"
value=
"userio.model"
></property>
<property
name=
"packagesToScan"
value=
"userio.model"
></property>
<property
name=
"persistenceUnitName"
value=
"ioUnit"
/>
<property
name=
"persistenceUnitName"
value=
"ioUnit"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaVendorAdapter"
ref=
"hibernateJpaVendorAdapter"
/>
<property
name=
"jpaProperties"
>
<property
name=
"jpaProperties"
>
...
@@ -337,5 +338,5 @@
...
@@ -337,5 +338,5 @@
<property
name=
"maxUploadSize"
value=
"2000000"
/>
<property
name=
"maxUploadSize"
value=
"2000000"
/>
</bean>
</bean>
<bean
id=
"appUtils"
class=
"common.context.AppUtils"
lazy-init=
"false"
/>
<bean
id=
"appUtils"
class=
"common.context.AppUtils"
lazy-init=
"false"
/>
</beans>
</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