| | |
| | | @ApiImplicitParam(name = "authEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.AuthEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertAuth", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertAuth(AuthEntity authEntity) { |
| | | public ResponseMsg<Integer> insertAuth(@RequestBody AuthEntity authEntity) { |
| | | try { |
| | | int count = authService.insertAuth(authEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateAuth", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateAuth(AuthEntity authEntity) { |
| | | public ResponseMsg<Integer> updateAuth(@RequestBody AuthEntity authEntity) { |
| | | try { |
| | | int count = authService.updateAuth(authEntity); |
| | | |