Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jiujian
/
client-customer-order-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhuyifan
2025-04-27 09:27:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c53ec939778966f1ebcaa5f5c24d98f5512c43c2
c53ec939
1 parent
063581b7
refactor(tianting): 修改查询就餐人的接口为 POST 方法
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/infoloop/tianting/controller/DinerController.java
src/main/java/com/infoloop/tianting/controller/DinerController.java
View file @
c53ec93
...
...
@@ -20,6 +20,7 @@ import org.springframework.validation.annotation.Validated;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PatchMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestAttribute
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
...
@@ -66,7 +67,7 @@ public class DinerController {
}
@ApiOperation
(
value
=
"根据学校,班级和学号查询就餐人"
)
@
Ge
tMapping
(
"/client/{clientId}/gradeclass/{gradeClassId}/diner"
)
@
Pos
tMapping
(
"/client/{clientId}/gradeclass/{gradeClassId}/diner"
)
@ResponseStatus
(
HttpStatus
.
OK
)
public
DinerVO
getClientClassDiner
(
@RequestAttribute
(
INJECTED_CLIENT
)
final
SingleClientRpcResponse
client
,
@RequestAttribute
(
INJECTED_GRADE_CLASS
)
final
SingleGradeClassRpcResponse
gradeClass
,
...
...
Please
register
or
login
to post a comment