main
HuangHai 2 months ago
parent 5a3f5da6a8
commit ff66c5f292

@ -95,6 +95,7 @@ public class Midjourney {
// 检查响应状态
if (responseJson.getIntValue("code") != 0) {
System.out.println(responseJson);
String errorMsg = "Midjourney imagine失败: " + responseJson.getString("msg");
log.error(errorMsg);
throw new Exception(errorMsg);

Loading…
Cancel
Save