当前位置:网站首页>Normal controller structure
Normal controller structure
2022-06-10 13:12:00 【An immortal pleasant goat】
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package com.hjh.mp.user.controller;
@org.springframework.web.bind.annotation.RestController
@org.springframework.web.bind.annotation.RequestMapping({"/api/menu"})
@org.springframework.boot.autoconfigure.condition.ConditionalOnProperty(prefix = "user", name = {"enabled"}, havingValue = "true", matchIfMissing = true)
@io.swagger.v3.oas.annotations.tags.Tag(name = "menu")
public class MenuController {
private final com.hjh.mp.user.api.menu.MenuApi menuApi;
public MenuController(com.hjh.mp.user.api.menu.MenuApi menuApi) { /* compiled code */ }
@io.swagger.v3.oas.annotations.Operation(summary = " Create a menu ")
@org.springframework.web.bind.annotation.PostMapping
public com.hjh.mp.bc.common.controller.ResponseResult<java.lang.Long> createMenuItem(@org.springframework.web.bind.annotation.RequestBody com.hjh.mp.user.api.menu.dto.MenuItemCreateDto dto) { /* compiled code */ }
@io.swagger.v3.oas.annotations.Operation(summary = " Modify the menu ")
@org.springframework.web.bind.annotation.PutMapping({"{id}"})
public com.hjh.mp.bc.common.controller.ResponseResult<java.lang.Void> modifyMenuItem(@io.swagger.v3.oas.annotations.Parameter(description = "ID") @org.springframework.web.bind.annotation.PathVariable("id") long id, @org.springframework.web.bind.annotation.RequestBody com.hjh.mp.user.api.menu.dto.MenuItemModifyBaseDto dto) { /* compiled code */ }
@io.swagger.v3.oas.annotations.Operation(summary = " Get menu ")
@org.springframework.web.bind.annotation.GetMapping({"{id}"})
public com.hjh.mp.bc.common.controller.ResponseResult<com.hjh.mp.user.api.menu.vo.MenuItemInfoVo> getMenuItem(@io.swagger.v3.oas.annotations.Parameter(description = "ID") @org.springframework.web.bind.annotation.PathVariable("id") long id) { /* compiled code */ }
@io.swagger.v3.oas.annotations.Operation(summary = " Get menu tree ")
@org.springframework.web.bind.annotation.GetMapping({"tree/{appInstanceId}"})
public com.hjh.mp.bc.common.controller.ResponseResult<java.util.List<com.hjh.mp.user.api.menu.vo.MenuItemTreeNodeVo>> getMenuItemTree(@io.swagger.v3.oas.annotations.Parameter(description = " Application example ID") @org.springframework.web.bind.annotation.PathVariable("appInstanceId") long appInstanceId) { /* compiled code */ }
@io.swagger.v3.oas.annotations.Operation(summary = " Get menu resource tree ")
@org.springframework.web.bind.annotation.GetMapping({"resourceTree/{appInstanceId}"})
public com.hjh.mp.bc.common.controller.ResponseResult<java.util.List<com.hjh.mp.user.api.menu.vo.MenuResourceTreeVo>> getResourceTree(@io.swagger.v3.oas.annotations.Parameter(description = " Application example ID") @org.springframework.web.bind.annotation.PathVariable("appInstanceId") long appInstanceId) { /* compiled code */ }
@io.swagger.v3.oas.annotations.Operation(summary = " Delete menu ")
@org.springframework.web.bind.annotation.DeleteMapping({"{id}"})
public com.hjh.mp.bc.common.controller.ResponseResult<java.lang.Void> deleteMenuItem(@io.swagger.v3.oas.annotations.Parameter(description = "ID") @org.springframework.web.bind.annotation.PathVariable("id") long id) { /* compiled code */ }
@io.swagger.v3.oas.annotations.Operation(summary = " Modify menu sorting ")
@org.springframework.web.bind.annotation.PostMapping({"resort"})
public com.hjh.mp.bc.common.controller.ResponseResult<java.lang.Void> resortMenuItem(@io.swagger.v3.oas.annotations.parameters.RequestBody(description = " Sorted menus ID list , It must be a direct child node under the same parent node ( Or both are root nodes )") @org.springframework.web.bind.annotation.RequestBody java.util.List<java.lang.Long> sortedIds) { /* compiled code */ }
}
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package com.hjh.mp.user.api.menu.dto;
public class MenuItemModifyBaseDto extends com.hjh.mp.user.api.menu.dto.MenuItemResourceCreateDto {
@javax.validation.constraints.NotEmpty
@javax.validation.constraints.Size(max = 20)
@io.swagger.v3.oas.annotations.media.Schema(title = " name ")
private java.lang.String name;
@javax.validation.constraints.Size(max = 500)
@io.swagger.v3.oas.annotations.media.Schema(title = " Icon ")
private java.lang.String icon;
public MenuItemModifyBaseDto() { /* compiled code */ }
public java.lang.String getName() { /* compiled code */ }
public void setName(java.lang.String name) { /* compiled code */ }
public java.lang.String getIcon() { /* compiled code */ }
public void setIcon(java.lang.String icon) { /* compiled code */ }
}
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package com.hjh.mp.user.api.menu.dto;
public class MenuItemResourceCreateDto {
@io.swagger.v3.oas.annotations.media.Schema(title = " Associated application instance resources ID")
private java.util.List<java.lang.Long> resourceIds;
@io.swagger.v3.oas.annotations.media.Schema(title = " Default application instance resources ID")
private java.lang.Long defaultResourceId;
public MenuItemResourceCreateDto() { /* compiled code */ }
public java.util.List<java.lang.Long> getResourceIds() { /* compiled code */ }
public void setResourceIds(java.util.List<java.lang.Long> resourceIds) { /* compiled code */ }
public java.lang.Long getDefaultResourceId() { /* compiled code */ }
public void setDefaultResourceId(java.lang.Long defaultResourceId) { /* compiled code */ }
}
边栏推荐
- TIDB 初級課程體驗 8 (集群的管理維護, 添加一個TIKV節點)
- VDO-SLAM源码阅读笔记[1] Track()中动态obj部分
- Alibaba cloud ECS server builds MySQL database
- What if the xshell evaluation period has expired? Follow the steps below to solve the problem!
- 2022年6月中国数据库排行榜:TiDB卷土重来摘桂冠,达梦蛰伏五月夺探花
- From "chemist" to developer, from Oracle to tdengine, two important choices in my life
- 世贸组织MC12重启 议程重点关注全球经济复苏
- CF894C Marco and GCD Sequence
- Sparkstreaming real-time data warehouse question & answer
- Automatic mapping of tailored landmark representations for automated driving and map learning
猜你喜欢

从解读 BDC 自动生成的代码谈起,讲解 SAPGUI 的程序组成部分试读版

GNN is used as the new backbone of the three major tasks of CV, with the same cost performance as CNN, Vit and MLP | Chinese Academy of Sciences & Huawei Noah open source
![[NLP] NLP full path learning recommendation](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[NLP] NLP full path learning recommendation

TIDB 初级课程体验 8 (集群的管理维护, 添加一个TIKV节点)
![[FAQ] summary of common problems and solutions during the use of rest API interface of sports health service](/img/73/c6c4c0d92e5adb2e831ea4a0290ee9.jpg)
[FAQ] summary of common problems and solutions during the use of rest API interface of sports health service

Commencez par interpréter le Code généré automatiquement par la BDC et expliquez les composantes du programme de l'interface graphique SAP.

JS global timer case

3. 网页开发工具 VS Code

Software project management 6.10 Cost budget

Alibaba cloud ECS server builds MySQL database
随机推荐
Tidb Primary course experience 8 (Management Maintenance of Clusters, add a tikv Node)
Vdo-slam: a visual dynamic object aware slam system paper reading
[summary] individual competition supplement POJ - 3041 asteroids & codeforces - 173b chamber of Secrets
VDO-SLAM: A Visual Dynamic Object-aware SLAM System 论文阅读
IQR箱线图
Creating basic stacks and queues in C language
SAP Field Service Management 和微信集成的案例分享和实现介绍
What if the xshell evaluation period has expired? Follow the steps below to solve the problem!
VDO-SLAM源码阅读笔记[2] local optimization和global optimization
OFFICE技术讲座:标点符号-中文-竖排
list. Remove (index) returns false, removal failed
QT database application 22 file coding format recognition
The ability to register user names and passwords with the database
Cvpr2022|aconvnetforthe2020s & how to design neural network Summary
VDMA commissioning summary
深度神经网络每秒分类近20亿张图像,新型类脑光学分类器芯片登上Nature
MySQL service evolution
Vdo-slam source code reading notes [1] dynamic obj part in track()
Altium Designer重拾之开篇引入
MySQL 服务演进