opt: make sure the Upscale and Variation task is assign to the same mj service with Image task

This commit is contained in:
RockYang
2023-12-18 16:34:33 +08:00
parent 3bea8f9706
commit 252eef2e5e
11 changed files with 68 additions and 11 deletions

View File

@@ -16,6 +16,7 @@ const (
// MjTask MidJourney 任务
type MjTask struct {
Id int `json:"id"`
ChannelId string `json:"channel_id"`
SessionId string `json:"session_id"`
Type TaskType `json:"type"`
UserId int `json:"user_id"`