Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
58c7d79a
Commit
58c7d79a
authored
Jun 06, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回200
parent
596f5329
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
CommonConstants.java
...ud.plus.v1/yifu/common/core/constant/CommonConstants.java
+1
-4
R.java
.../java/com/yifu.cloud.plus.v1/yifu/common/core/util/R.java
+1
-1
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/constant/CommonConstants.java
View file @
58c7d79a
...
@@ -72,10 +72,7 @@ public interface CommonConstants {
...
@@ -72,10 +72,7 @@ public interface CommonConstants {
*/
*/
Integer
SUCCESS
=
200
;
Integer
SUCCESS
=
200
;
/**
* 成功标记 200
*/
int
SUCCESS_CODE
=
200
;
/**
/**
* 失败标记
* 失败标记
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/util/R.java
View file @
58c7d79a
...
@@ -51,7 +51,7 @@ public class R<T> implements Serializable {
...
@@ -51,7 +51,7 @@ public class R<T> implements Serializable {
public
R
(
T
data
)
{
public
R
(
T
data
)
{
super
();
super
();
this
.
data
=
data
;
this
.
data
=
data
;
this
.
code
=
CommonConstants
.
SUCCESS
_CODE
;
this
.
code
=
CommonConstants
.
SUCCESS
;
}
}
//这个异常类不要放开,new R(null)容易出现问题
//这个异常类不要放开,new R(null)容易出现问题
...
...
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