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
76f61857
Commit
76f61857
authored
Oct 27, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口返回值
parent
7dc4bd3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
YxmController.java
...n/java/cn/qg/qaplatform/controller/yxm/YxmController.java
+3
-3
No files found.
src/main/java/cn/qg/qaplatform/controller/yxm/YxmController.java
View file @
76f61857
...
@@ -69,7 +69,7 @@ public class YxmController {
...
@@ -69,7 +69,7 @@ public class YxmController {
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"total"
,
tSkuInfoIPage
.
getTotal
());
map
.
put
(
"total"
,
tSkuInfoIPage
.
getTotal
());
map
.
put
(
"list"
,
tSkuInfoIPage
.
getRecords
());
map
.
put
(
"list"
,
tSkuInfoIPage
.
getRecords
());
return
Result
.
buildSuccessResult
(
map
);
return
Result
.
buildSuccessResult
(
"获取sku列表成功."
,
map
);
}
}
/**
/**
...
@@ -107,7 +107,7 @@ public class YxmController {
...
@@ -107,7 +107,7 @@ public class YxmController {
e
.
printStackTrace
();
e
.
printStackTrace
();
return
Result
.
buildErrorStateResult
(
"下单失败!"
,
false
);
return
Result
.
buildErrorStateResult
(
"下单失败!"
,
false
);
}
}
return
Result
.
buildSuccessResult
(
"下单成功!"
);
return
Result
.
buildSuccessResult
(
"下单成功!"
,
true
);
}
}
/**
/**
...
@@ -126,6 +126,6 @@ public class YxmController {
...
@@ -126,6 +126,6 @@ public class YxmController {
e
.
printStackTrace
();
e
.
printStackTrace
();
return
Result
.
buildErrorStateResult
(
"地址绑定失败!"
,
false
);
return
Result
.
buildErrorStateResult
(
"地址绑定失败!"
,
false
);
}
}
return
Result
.
buildSuccessResult
(
"地址绑定成功!"
);
return
Result
.
buildSuccessResult
(
"地址绑定成功!"
,
true
);
}
}
}
}
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