Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
吴迪
gs1-office-web-sit
Commits
0cd03027
Commit
0cd03027
authored
May 30, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】修改返回详情
parent
531e5f94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BranchController.java
...io/office/modules/manage/controller/BranchController.java
+2
-2
No files found.
src/main/java/io/office/modules/manage/controller/BranchController.java
View file @
0cd03027
...
@@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
io.office.modules.app.annotation.Login
;
import
io.office.modules.app.annotation.Login
;
import
io.office.modules.manage.entity.DocEntity
;
import
io.office.modules.manage.entity.DocEntity
;
import
io.office.modules.manage.vo.request.ShortCodeVo
;
import
io.office.modules.manage.vo.request.ShortCodeVo
;
import
io.office.modules.manage.vo.response.BranchEntityVo
;
import
org.apache.shiro.authz.annotation.RequiresPermissions
;
import
org.apache.shiro.authz.annotation.RequiresPermissions
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PathVariable
;
...
@@ -55,8 +56,7 @@ public class BranchController {
...
@@ -55,8 +56,7 @@ public class BranchController {
@RequestMapping
(
"/info/{branchCode}"
)
@RequestMapping
(
"/info/{branchCode}"
)
// @RequiresPermissions("manage:branch:info")
// @RequiresPermissions("manage:branch:info")
public
R
info
(
@PathVariable
(
"branchCode"
)
String
branchCode
){
public
R
info
(
@PathVariable
(
"branchCode"
)
String
branchCode
){
BranchEntity
branch
=
branchService
.
getById
(
branchCode
);
BranchEntityVo
branch
=
branchService
.
getBranchDetail
(
branchCode
);
return
R
.
ok
().
put
(
"data"
,
branch
);
return
R
.
ok
().
put
(
"data"
,
branch
);
}
}
...
...
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