Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
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
姚本章
dm_project
Commits
7dc8a4e0
Commit
7dc8a4e0
authored
Jan 13, 2021
by
ysongq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
11ee79e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
74 deletions
+56
-74
manageApplicationTests.java
...e/src/test/java/com/jz/manage/manageApplicationTests.java
+5
-29
pom.xml
pom.xml
+51
-45
No files found.
jz-dm-manage/src/test/java/com/jz/manage/manageApplicationTests.java
View file @
7dc8a4e0
...
@@ -32,35 +32,11 @@ public class manageApplicationTests {
...
@@ -32,35 +32,11 @@ public class manageApplicationTests {
@Test
@Test
public
void
aa
()
{
public
void
aa
()
{
System
.
out
.
print
(
userService
.
getTest
().
toString
());
String
s
=
"2020-11-11-2020-11-12"
;
userService
.
getTest
();
String
substring
=
s
.
substring
(
0
,
10
);
String
substring1
=
s
.
substring
(
11
,
21
);
System
.
out
.
println
(
substring
);
System
.
out
.
println
(
substring1
);
}
}
@Test
public
void
getUserRoleByAccount
()
throws
Exception
{
DataApiUpReq
dataApiUpReq
=
new
DataApiUpReq
();
dataApiUpReq
.
setApiName
(
"华为"
);
dataApiUpReq
.
setRequestType
(
"的撒旦"
);
dataApiUpReq
.
setApiUrl
(
"http://localhost/dataGoods/uploadApi"
);
dataApiUpReq
.
setReturnDataExample
(
"dadasdadafaf"
);
dataApiUpReq
.
setApiKey
(
"5"
);
dataApiUpReq
.
setEncryMode
(
"MD5"
);
dataApiUpReq
.
setTransMode
(
"http"
);
dataApiUpReq
.
setApiFunction
(
"fafafaffaf"
);
dataApiUpReq
.
setVersionNumber
(
"1.0"
);
dataApiUpReq
.
setPriceType
(
"01"
);
dataApiUpReq
.
setApiType
(
"1"
);
dataApiUpReq
.
setApiDesc
(
"fafsafafasff"
);
dataApiUpReq
.
setDataPicture
(
"http://wx4.sinaimg.cn/bmiddle/006GJQvhly1gkx4ezwcr4j328g28g1kx.jpg"
);
dataApiUpReq
.
setYearType
(
BigDecimal
.
valueOf
(
1
));
List
<
DataGoodsApiParams
>
paramsList
=
new
ArrayList
<>();
for
(
DataGoodsApiParams
params
:
paramsList
)
{
params
.
setParamsDiff
(
"01"
);
params
.
setParamsName
(
"xiaomi"
);
params
.
setParamsType
(
"哒哒哒"
);
params
.
setCreTime
(
DateUtils
.
getToday
());
}
dataApiUpReq
.
setParamsList
(
paramsList
);
dataGoodsService
.
uploadApi
(
dataApiUpReq
);
}
}
}
pom.xml
View file @
7dc8a4e0
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
<springfox-swagger2.version>
2.9.2
</springfox-swagger2.version>
<springfox-swagger2.version>
2.9.2
</springfox-swagger2.version>
<swagger-bootstrap-ui.version>
1.9.6
</swagger-bootstrap-ui.version>
<swagger-bootstrap-ui.version>
1.9.6
</swagger-bootstrap-ui.version>
<lombok.version>
1.18.16
</lombok.version>
<lombok.version>
1.18.16
</lombok.version>
<commons-net.version>
3.6
</commons-net.version>
</properties>
</properties>
<dependencyManagement>
<dependencyManagement>
...
@@ -110,16 +111,16 @@
...
@@ -110,16 +111,16 @@
<!-- ***************************************************************** -->
<!-- ***************************************************************** -->
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.apache.flume
</groupId
>
<
!--<groupId>org.apache.flume</groupId>--
>
<
artifactId>
flume-ng-core
</artifactId
>
<
!--<artifactId>flume-ng-core</artifactId>--
>
<
version>
1.5.0
</version
>
<
!--<version>1.5.0</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.apache.flume.flume-ng-clients
</groupId
>
<
!--<groupId>org.apache.flume.flume-ng-clients</groupId>--
>
<
artifactId>
flume-ng-log4jappender
</artifactId
>
<
!--<artifactId>flume-ng-log4jappender</artifactId>--
>
<
version>
1.5.0
</version
>
<
!--<version>1.5.0</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<!-- Netty -->
<!-- Netty -->
<dependency>
<dependency>
...
@@ -138,43 +139,43 @@
...
@@ -138,43 +139,43 @@
<version>
${netty-version}
</version>
<version>
${netty-version}
</version>
</dependency>
</dependency>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.springframework.security
</groupId
>
<
!--<groupId>org.springframework.security</groupId>--
>
<
artifactId>
spring-security-core
</artifactId
>
<
!--<artifactId>spring-security-core</artifactId>--
>
<
version>
${spring-security-version}
</version
>
<
!--<version>${spring-security-version}</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.springframework.security
</groupId
>
<
!--<groupId>org.springframework.security</groupId>--
>
<
artifactId>
spring-security-web
</artifactId
>
<
!--<artifactId>spring-security-web</artifactId>--
>
<
version>
${spring-security-version}
</version
>
<
!--<version>${spring-security-version}</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.springframework.security
</groupId
>
<
!--<groupId>org.springframework.security</groupId>--
>
<
artifactId>
spring-security-taglibs
</artifactId
>
<
!--<artifactId>spring-security-taglibs</artifactId>--
>
<
version>
${spring-security-version}
</version
>
<
!--<version>${spring-security-version}</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.springframework.security
</groupId
>
<
!--<groupId>org.springframework.security</groupId>--
>
<
artifactId>
spring-security-acl
</artifactId
>
<
!--<artifactId>spring-security-acl</artifactId>--
>
<
version>
${spring-security-version}
</version
>
<
!--<version>${spring-security-version}</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.springframework.security
</groupId
>
<
!--<groupId>org.springframework.security</groupId>--
>
<
artifactId>
spring-security-crypto
</artifactId
>
<
!--<artifactId>spring-security-crypto</artifactId>--
>
<
version>
${spring-security-version}
</version
>
<
!--<version>${spring-security-version}</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.springframework.security
</groupId
>
<
!--<groupId>org.springframework.security</groupId>--
>
<
artifactId>
spring-security-config
</artifactId
>
<
!--<artifactId>spring-security-config</artifactId>--
>
<
version>
${spring-security-version}
</version
>
<
!--<version>${spring-security-version}</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<
dependency
>
<
!--<dependency>--
>
<
groupId>
org.springframework.security.oauth
</groupId
>
<
!--<groupId>org.springframework.security.oauth</groupId>--
>
<
artifactId>
spring-security-oauth2
</artifactId
>
<
!--<artifactId>spring-security-oauth2</artifactId>--
>
<
version>
${spring.security.oauth.version}
</version
>
<
!--<version>${spring.security.oauth.version}</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<!-- 统一配置 -->
<!-- 统一配置 -->
<dependency>
<dependency>
<groupId>
com.baidu.disconf
</groupId>
<groupId>
com.baidu.disconf
</groupId>
...
@@ -210,6 +211,11 @@
...
@@ -210,6 +211,11 @@
<artifactId>
lombok
</artifactId>
<artifactId>
lombok
</artifactId>
<version>
${lombok.version}
</version>
<version>
${lombok.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
commons-net
</groupId>
<artifactId>
commons-net
</artifactId>
<version>
${commons-net.version}
</version>
</dependency>
</dependencies>
</dependencies>
</dependencyManagement>
</dependencyManagement>
...
...
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