Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6d3be815
authored
Jun 12, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改变量名称
1 parent
b879d39d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
project-interface/src/main/java/com/alibaba/cloud/integration/common/Result.java
project-interface/src/main/java/com/alibaba/cloud/integration/common/Result.java
View file @
6d3be81
...
@@ -73,11 +73,11 @@ public class Result<T> {
...
@@ -73,11 +73,11 @@ public class Result<T> {
this
.
message
=
message
;
this
.
message
=
message
;
}
}
public
T
get
Data
()
{
public
T
get
Result
()
{
return
this
.
result
;
return
this
.
result
;
}
}
public
void
set
Data
(
T
result
)
{
public
void
set
Result
(
T
result
)
{
this
.
result
=
result
;
this
.
result
=
result
;
}
}
...
@@ -85,7 +85,7 @@ public class Result<T> {
...
@@ -85,7 +85,7 @@ public class Result<T> {
Result
<
T
>
r
=
new
Result
<>();
Result
<
T
>
r
=
new
Result
<>();
r
.
setCode
(
code
);
r
.
setCode
(
code
);
r
.
setMessage
(
message
);
r
.
setMessage
(
message
);
r
.
set
Data
(
result
);
r
.
set
Result
(
result
);
return
r
;
return
r
;
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment