为各服务接口补 /// 中文注释:swagger 恢复中文说明(admin 203 / user 93 / customer 12 / fishgame 4)
This commit is contained in:
@@ -16,6 +16,9 @@ namespace UserApi.Dict
|
||||
_dicRepo = dicRepo;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据编码获取字典项
|
||||
/// </summary>
|
||||
[HttpGet("GetByCode")]
|
||||
public async Task<BaseResponse<SystemDic>> GetByCode(string code)
|
||||
{
|
||||
@@ -23,6 +26,9 @@ namespace UserApi.Dict
|
||||
return this.ToResult(dic);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据编码获取字典子项列表 - 返回该字典编码下所有子项(按 Order 排序)
|
||||
/// </summary>
|
||||
[HttpGet("GetListByCode")]
|
||||
public async Task<BaseResponse<List<SystemDic>>> GetListByCode(string code)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user