refactor(journal task): 重构期刊任务模块,优化答案数据结构与流程
1. 移除废弃的KeywordAnalysis相关接口与代码 2. 重构任务答案存储逻辑,改用一对多关联存储多组答案 3. 调整实体与DTO字段,统一评分、时长等任务配置字段位置 4. 优化任务查询与返回结构,使用列表统一管理答案数据 5. 修复微信授权控制器默认返回逻辑
This commit is contained in:
@ -461,18 +461,6 @@ namespace QYZH.InteractiveMagazine.WebApi.Controllers
|
||||
return BaseResponse<long>.Success(data.Value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 书页问题单项解析
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("page/task/keyword-analysis")]
|
||||
[ProducesResponseType(typeof(BaseResponse<bool>), 200)]
|
||||
public async Task<BaseResponse<bool>> KeywordAnalysisAsync(JournalPageTaskKeywordAnalysis input)
|
||||
{
|
||||
var data = await JournalPageTaskService.KeywordAnalysisAsync(input);
|
||||
return BaseResponse<bool>.Success(data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 书页问题更新
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user