Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
1363fb07
Commit
1363fb07
authored
Apr 10, 2023
by
Administrator
Browse files
1.ResponseCode类中变量去掉final
2.BusinessRunTimeException 中增加get和set方法
parent
bfee3896
Changes
2
Show whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/exception/BusinessRunTimeException.java
View file @
1363fb07
...
@@ -29,4 +29,22 @@ public class BusinessRunTimeException extends RuntimeException {
...
@@ -29,4 +29,22 @@ public class BusinessRunTimeException extends RuntimeException {
this
.
code
=
code
;
this
.
code
=
code
;
this
.
data
=
objectMap
;
this
.
data
=
objectMap
;
}
}
public
int
getCode
()
{
return
code
;
}
public
void
setCode
(
int
code
)
{
this
.
code
=
code
;
}
public
Map
<
String
,
Object
>
getData
()
{
return
data
;
}
public
void
setData
(
Map
<
String
,
Object
>
data
)
{
this
.
data
=
data
;
}
}
}
jshERP-boot/src/main/java/com/jsh/erp/utils/ResponseCode.java
View file @
1363fb07
...
@@ -8,8 +8,11 @@ import com.alibaba.fastjson.annotation.JSONField;
...
@@ -8,8 +8,11 @@ import com.alibaba.fastjson.annotation.JSONField;
*/
*/
public
class
ResponseCode
{
public
class
ResponseCode
{
public
final
int
code
;
/* public final int code;
public
final
Object
data
;
public final Object data;*/
public
int
code
;
public
Object
data
;
/**
/**
*
*
...
...
Write
Preview
Supports
Markdown
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