fix: 修复mj错误返还费用问题

This commit is contained in:
CaIon
2024-01-12 13:45:52 +08:00
parent 4d6ddd4da2
commit 6833c7fd38
3 changed files with 26 additions and 7 deletions
+1
View File
@@ -544,6 +544,7 @@ func relayMidjourneySubmit(c *gin.Context, relayMode int) *MidjourneyResponse {
Progress: "0%",
FailReason: "",
ChannelId: c.GetInt("channel_id"),
Quota: quota,
}
if midjResponse.Code != 1 && midjResponse.Code != 21 && midjResponse.Code != 22 {