Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
0498e10c
Commit
0498e10c
authored
Jul 25, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除子类目
parent
cc364a33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ch-admin-api/src/main/java/com/wwdz/ch/admin/controller/CategoryController.java
...java/com/wwdz/ch/admin/controller/CategoryController.java
+5
-0
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/controller/CategoryController.java
View file @
0498e10c
...
...
@@ -157,6 +157,11 @@ public class CategoryController {
}
categoryManager
.
deleteById
(
id
);
Category
pCat
=
new
Category
();
pCat
.
setId
(
category
.
getPid
());
pCat
.
setIsLeaf
(
true
);
categoryManager
.
updateById
(
pCat
);
logger
.
info
(
"【请求结束】商场管理->类目管理->删除:响应结果:{}"
,
"成功!"
);
return
ResponseUtil
.
ok
();
}
...
...
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