Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
02928bbf
authored
Sep 11, 2023
by
李小龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
整理代码
parent
0294b5d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletions
saas-module/src/main/java/com/makeit/controller/plat/PlatMenuController.java
server-module/src/main/java/com/makeit/module/controller/elder/PlatElderReportMonthController.java
saas-module/src/main/java/com/makeit/controller/plat/PlatMenuController.java
0 → 100644
View file @
02928bbf
package
com
.
makeit
.
controller
.
plat
;
import
com.makeit.common.response.ApiResponseEntity
;
import
com.makeit.common.response.ApiResponseUtils
;
import
com.makeit.module.admin.dto.plat.PlatMenuDTOVO
;
import
com.makeit.module.admin.dto.plat.PlatMenuQueryDTO
;
import
com.makeit.service.saas.PlatMenuService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
@Api
(
tags
=
"平台端-菜单"
)
@RestController
@RequestMapping
(
"/plat/menu"
)
public
class
PlatMenuController
{
@Autowired
private
PlatMenuService
platMenuService
;
@ApiOperation
(
"树形列表"
)
@PostMapping
(
"tree"
)
public
ApiResponseEntity
<
List
<
PlatMenuDTOVO
>>
treeAuthIgnore
(
@RequestBody
PlatMenuQueryDTO
dto
){
return
ApiResponseUtils
.
success
(
platMenuService
.
tree
(
dto
));
}
}
server-module/src/main/java/com/makeit/module/controller/elder/PlatElderReportMonthController.java
View file @
02928bbf
...
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
*/
*/
@Api
(
tags
=
"长者报告-周报"
)
@Api
(
tags
=
"长者报告-周报"
)
@RestController
@RestController
@RequestMapping
(
"/plat/elder/report/
week
"
)
@RequestMapping
(
"/plat/elder/report/
month
"
)
public
class
PlatElderReportMonthController
{
public
class
PlatElderReportMonthController
{
@ApiOperation
(
"综合评价"
)
@ApiOperation
(
"综合评价"
)
...
...
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