Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qa-platform
Commits
ec249ccd
Commit
ec249ccd
authored
Mar 18, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增加密和返回类型判断
parent
20e71a04
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
123 additions
and
77 deletions
+123
-77
Mock.java
src/main/java/cn/qg/qaplatform/mock/entity/Mock.java
+11
-0
YeebaoInterceptor.java
.../cn/qg/qaplatform/mock/interceptor/YeebaoInterceptor.java
+112
-77
No files found.
src/main/java/cn/qg/qaplatform/mock/entity/Mock.java
View file @
ec249ccd
...
@@ -15,7 +15,18 @@ public class Mock {
...
@@ -15,7 +15,18 @@ public class Mock {
private
String
description
;
private
String
description
;
private
String
success
;
private
String
success
;
private
String
fail
;
private
String
fail
;
/**
* 0-返回失败,1-返回成功
*/
private
Integer
flag
;
private
Integer
flag
;
/**
* 0-不加密,1-加密
*/
private
Integer
encrypt
;
/**
* 1-json,2-字符串
*/
private
Integer
type
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createTime
;
private
Date
createTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
...
...
src/main/java/cn/qg/qaplatform/mock/interceptor/YeebaoInterceptor.java
View file @
ec249ccd
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