docs: add 3.1.4 release version change logs

This commit is contained in:
RockYang
2023-10-09 12:05:51 +08:00
parent e8ae8fddb7
commit 8fc26183e9
4 changed files with 30 additions and 10 deletions

View File

@@ -72,6 +72,11 @@ func (h *MidJourneyHandler) checkLimits(c *gin.Context) bool {
// Image 创建一个绘画任务
func (h *MidJourneyHandler) Image(c *gin.Context) {
if !h.App.Config.MjConfig.Enabled {
resp.ERROR(c, "MidJourney service is disabled")
return
}
var data struct {
SessionId string `json:"session_id"`
Prompt string `json:"prompt"`