Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli
Commits
3f38e33f
Commit
3f38e33f
authored
Mar 14, 2023
by
郑云飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页接口修改
parent
d4b6018d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/controller/DbOrderController.java
+4
-4
No files found.
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/controller/DbOrderController.java
View file @
3f38e33f
...
...
@@ -85,9 +85,9 @@ public class DbOrderController extends BaseController {
* @param id 主键
*/
@SaCheckPermission
(
"xinrenli:order:query"
)
@GetMapping
(
"/
{id}
"
)
@GetMapping
(
"/"
)
public
R
<
DbOrderVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
@
PathVariable
Long
id
)
{
@
RequestParam
Long
id
)
{
return
R
.
ok
(
iDbOrderService
.
queryById
(
id
));
}
...
...
@@ -120,9 +120,9 @@ public class DbOrderController extends BaseController {
*/
@SaCheckPermission
(
"xinrenli:order:remove"
)
@Log
(
title
=
"订单"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/
{ids}
"
)
@DeleteMapping
(
"/"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
@
PathVariable
Long
[]
ids
)
{
@
RequestParam
Long
[]
ids
)
{
return
toAjax
(
iDbOrderService
.
deleteWithValidByIds
(
Arrays
.
asList
(
ids
),
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