feat: mobile mj list page is ready

This commit is contained in:
RockYang
2024-02-15 18:11:22 +08:00
parent 0af01f6f1f
commit d2ac807252
9 changed files with 88 additions and 114 deletions

View File

@@ -108,7 +108,7 @@ func (s *Service) Run() {
s.taskStartTimes[int(task.Id)] = time.Now()
atomic.AddInt32(&s.HandledTaskNum, 1)
// 更新任务 ID/频道
s.db.Debug().Model(&model.MidJourneyJob{Id: task.Id}).UpdateColumns(map[string]interface{}{
s.db.Model(&model.MidJourneyJob{Id: task.Id}).UpdateColumns(map[string]interface{}{
"task_id": res.Result,
"channel_id": s.Name,
})