mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 14:53:40 +08:00
修改stat接口返回值
This commit is contained in:
@@ -14,6 +14,12 @@ import (
|
||||
)
|
||||
|
||||
func UpdateMidjourneyTask() {
|
||||
//revocer
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
log.Printf("UpdateMidjourneyTask: %v", err)
|
||||
}
|
||||
}()
|
||||
imageModel := "midjourney"
|
||||
for {
|
||||
time.Sleep(time.Duration(15) * time.Second)
|
||||
|
||||
Reference in New Issue
Block a user