Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cneeds-server
Overview
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
zhangzr
cneeds-server
Commits
d6b2d928
Commit
d6b2d928
authored
Jan 09, 2020
by
zzrdark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.add 依赖 common-io
parent
9368d5ae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
1 deletions
+21
-1
workspace.xml
.idea/workspace.xml
+0
-0
pom.xml
cneeds-common-utils/pom.xml
+18
-0
SQLFilter.java
...ils/src/main/java/com/mx/cneeds/common/xss/SQLFilter.java
+1
-1
UserServerApplication.java
...java/com/mx/cneeds/server/user/UserServerApplication.java
+2
-0
No files found.
.idea/workspace.xml
View file @
d6b2d928
This diff is collapsed.
Click to expand it.
cneeds-common-utils/pom.xml
View file @
d6b2d928
...
...
@@ -14,6 +14,8 @@
<properties>
<mybatisplus.version>
3.1.2
</mybatisplus.version>
<commons.lang.version>
2.6
</commons.lang.version>
<commons.io.version>
2.5
</commons.io.version>
<swagger.version>
2.7.0
</swagger.version>
</properties>
<dependencies>
...
...
@@ -34,5 +36,20 @@
<artifactId>
commons-lang
</artifactId>
<version>
${commons.lang.version}
</version>
</dependency>
<dependency>
<groupId>
commons-io
</groupId>
<artifactId>
commons-io
</artifactId>
<version>
${commons.io.version}
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
${swagger.version}
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
${swagger.version}
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
cneeds-common-utils/src/main/java/com/mx/cneeds/common/xss/SQLFilter.java
View file @
d6b2d928
...
...
@@ -8,7 +8,7 @@
package
com
.
mx
.
cneeds
.
common
.
xss
;
import
io.renren
.common.exception.RRException
;
import
com.mx.cneeds
.common.exception.RRException
;
import
org.apache.commons.lang.StringUtils
;
/**
...
...
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/UserServerApplication.java
View file @
d6b2d928
...
...
@@ -5,6 +5,7 @@ import org.springframework.boot.WebApplicationType;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.cloud.netflix.eureka.EnableEurekaClient
;
import
springfox.documentation.swagger2.annotations.EnableSwagger2
;
/**
* @ClassName UserServerApplication
...
...
@@ -14,6 +15,7 @@ import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
**/
@SpringBootApplication
@EnableEurekaClient
@EnableSwagger2
public
class
UserServerApplication
{
public
static
void
main
(
String
[]
args
)
{
new
SpringApplicationBuilder
(
UserServerApplication
.
class
).
web
(
WebApplicationType
.
NONE
).
run
(
args
);
...
...
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