This commit is contained in:
2026-09-15 23:04:13 +08:00
parent ade2453083
commit 8c2ea84939
17 changed files with 749 additions and 161 deletions
+3 -2
View File
@@ -134,8 +134,9 @@ func NewRouter() *gin.Engine {
// 广告激励额度
auth.POST("/ad-reward/grant", adRewardHandler.Grant)
// AI 推荐
auth.POST("/ai-recommend", aiHandler.Create)
// AI 推荐(异步:提交任务后轮询结果,避免长耗时请求被超时中断)
auth.POST("/ai-recommend", aiHandler.Submit)
auth.GET("/ai-recommend/status", aiHandler.Status)
auth.POST("/ai-recommend/save", aiHandler.Save)
}