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