@RestController
@RequestMapping(value="/api/privilege/id/{typeID}/type/{type}")
public class PrivilegeController
extends BaseController
权限表 前端控制器
request, response| 构造器和说明 |
|---|
PrivilegeController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResponses<cn.hutool.json.JSONObject> |
get(String typeID,
String type) |
ApiResponses<String> |
update(String typeID,
String type,
String data) |
empty, failure, failure, getParameterSafeValue, getParameterSafeValues, success, success, success@GetMapping(value="/menus") public ApiResponses<cn.hutool.json.JSONObject> get(@PathVariable String typeID, @PathVariable String type)
@PutMapping(value="/menus") public ApiResponses<String> update(@PathVariable String typeID, @PathVariable String type, @RequestParam String data)
Copyright © 2020. All rights reserved.