feat: mj advance drawing page function is ready, use better task scheduling argorithm

This commit is contained in:
RockYang
2023-09-17 18:03:45 +08:00
parent 26944f9e39
commit 5034a20345
8 changed files with 234 additions and 109 deletions

View File

@@ -191,10 +191,10 @@ func main() {
fx.Invoke(func(s *core.AppServer, h *handler.MidJourneyHandler) {
group := s.Engine.Group("/api/mj/")
group.POST("notify", h.Notify)
group.POST("image", h.Image)
group.POST("upscale", h.Upscale)
group.POST("variation", h.Variation)
group.GET("jobs", h.JobList)
group.GET("proxy", h.Proxy)
}),
// 管理后台控制器