mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、新增组织、用户、角色、短信日志、短信模版、token管理easyexcel导出国际化,i18n文件整理;2、新增字典cache支持多语言;
This commit is contained in:
+11
@@ -37,6 +37,17 @@ public interface DictDataApi {
|
||||
CommonResult<DictDataRespDTO> getDictData(@RequestParam("dictType") String dictType,
|
||||
@RequestParam("value") String value);
|
||||
|
||||
@GetMapping(PREFIX + "/i18n/get")
|
||||
@Operation(summary = "获得指定的字典数据")
|
||||
@Parameters({
|
||||
@Parameter(name = "dictType", description = "字典类型", example = "SEX", required = true),
|
||||
@Parameter(name = "description", description = "字典数据值", example = "1", required = true),
|
||||
@Parameter(name = "description", description = "语种", example = "en", required = true)
|
||||
})
|
||||
CommonResult<DictDataRespDTO> getDictI18nData(@RequestParam("dictType") String dictType,
|
||||
@RequestParam("value") String value,
|
||||
@RequestParam("language") String language);
|
||||
|
||||
@GetMapping(PREFIX + "/parse")
|
||||
@Operation(summary = "解析获得指定的字典数据")
|
||||
@Parameters({
|
||||
|
||||
Reference in New Issue
Block a user