Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
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
胡园园
yanxuan-qc-change-system
Commits
1532953a
Commit
1532953a
authored
Nov 18, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试 返回值接受 以及查询时拼接参数
parent
2d5a111c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
GoodsRpcService.java
...mail/yanxuan/change/integration/flow/GoodsRpcService.java
+1
-1
ChangeConfigController.java
...yanxuan/change/web/controller/ChangeConfigController.java
+2
-2
No files found.
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/GoodsRpcService.java
View file @
1532953a
...
@@ -16,6 +16,6 @@ import org.springframework.web.bind.annotation.RequestParam;
...
@@ -16,6 +16,6 @@ import org.springframework.web.bind.annotation.RequestParam;
public
interface
GoodsRpcService
{
public
interface
GoodsRpcService
{
@GetMapping
(
value
=
"/xhr/item/basic/sqe.json"
)
@GetMapping
(
value
=
"/xhr/item/basic/sqe.json"
)
AjaxResponse
<
String
>
getDetail
(
@RequestParam
(
"itemId"
)
Integer
itemId
);
String
getDetail
(
@RequestParam
(
"itemId"
)
Integer
itemId
);
}
}
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeConfigController.java
View file @
1532953a
...
@@ -102,8 +102,8 @@ public class ChangeConfigController {
...
@@ -102,8 +102,8 @@ public class ChangeConfigController {
@Autowired
@Autowired
private
GoodsRpcService
goodsRpcService
;
private
GoodsRpcService
goodsRpcService
;
@GetMapping
(
"/test"
)
@GetMapping
(
"/test"
)
public
AjaxResult
test
(){
public
AjaxResult
test
(
@RequestParam
(
"id"
)
Integer
id
){
return
AjaxResult
.
of
(
1111
,
"调用成功"
,
goodsRpcService
.
getDetail
(
32
));
return
AjaxResult
.
of
(
1111
,
"调用成功"
,
goodsRpcService
.
getDetail
(
id
));
}
}
}
}
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