为各服务接口补 /// 中文注释:swagger 恢复中文说明(admin 203 / user 93 / customer 12 / fishgame 4)
This commit is contained in:
@@ -16,6 +16,9 @@ namespace UserApi.Faq
|
||||
_faqService = faqService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取板块树形结构
|
||||
/// </summary>
|
||||
[HttpGet("CategoryTree")]
|
||||
public async Task<BaseCommonResponse> GetCategoryTree()
|
||||
{
|
||||
@@ -32,6 +35,9 @@ namespace UserApi.Faq
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取板块下的问题列表
|
||||
/// </summary>
|
||||
[HttpGet("Questions")]
|
||||
public async Task<BaseCommonResponse> GetQuestions(string categoryId)
|
||||
{
|
||||
@@ -47,6 +53,9 @@ namespace UserApi.Faq
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询问题
|
||||
/// </summary>
|
||||
[HttpPost("QuestionList")]
|
||||
public async Task<BaseCommonResponse> GetQuestionList([FromBody] FaqQueryParam param)
|
||||
{
|
||||
@@ -61,6 +70,9 @@ namespace UserApi.Faq
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取问题详情
|
||||
/// </summary>
|
||||
[HttpGet("QuestionDetail")]
|
||||
public async Task<BaseResponse<FaqQuestionDto>> GetQuestionDetail(string id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user