feat: add image publish function, ONLY published image show in image wall page

This commit is contained in:
RockYang
2024-01-19 06:52:23 +08:00
parent 6fa08861f8
commit 0c59503edb
20 changed files with 147 additions and 20 deletions

View File

@@ -16,6 +16,7 @@ type MidJourneyJob struct {
Progress int
Prompt string
UseProxy bool // 是否使用反代加载图片
Publish bool //是否发布图片到画廊
CreatedAt time.Time
}

View File

@@ -11,6 +11,7 @@ type SdJob struct {
Progress int
Prompt string
Params string
Publish bool //是否发布图片到画廊
CreatedAt time.Time
}