|
|
@ -40,7 +40,7 @@ public class ComDictionaryController {
|
|
|
|
return dictionaryService.findDictionaryListByType(dictionaryByTypeParam);
|
|
|
|
return dictionaryService.findDictionaryListByType(dictionaryByTypeParam);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/add")
|
|
|
|
@PostMapping("/save")
|
|
|
|
@ApiOperation(value = "新增字典", httpMethod = "POST")
|
|
|
|
@ApiOperation(value = "新增字典", httpMethod = "POST")
|
|
|
|
public R<?> insertDictionary(@RequestBody @Validated ComDictionary dictionary) {
|
|
|
|
public R<?> insertDictionary(@RequestBody @Validated ComDictionary dictionary) {
|
|
|
|
return dictionaryService.insertDictionary(dictionary);
|
|
|
|
return dictionaryService.insertDictionary(dictionary);
|
|
|
|