文件上产下载修改

This commit is contained in:
lym
2024-05-28 18:17:14 +08:00
parent 924da20fe7
commit a2e57e91e7
15 changed files with 403 additions and 42 deletions
@@ -46,4 +46,14 @@ public interface DictDataApi {
CommonResult<DictDataRespDTO> parseDictData(@RequestParam("dictType") String dictType,
@RequestParam("label") String label);
@GetMapping(PREFIX + "/add")
@Operation(summary = "新增字典数据")
@Parameters({
@Parameter(name = "dictType", description = "字典类型", example = "SEX", required = true),
@Parameter(name = "label", description = "字典标签", example = "", required = true),
@Parameter(name = "value", description = "字典键值", example = "1", required = true)
})
CommonResult<Long> addDictData(@RequestParam("dictType") String dictType,
@RequestParam("label") String label,
@RequestParam("value") String value);
}