|
@@ -475,9 +475,9 @@ public class MidjourneyServiceImpl implements MidjourneyService {
|
|
|
// if (accountWithMinUsage == null) {
|
|
// if (accountWithMinUsage == null) {
|
|
|
// throw new Exception("没有可用的账号");
|
|
// throw new Exception("没有可用的账号");
|
|
|
// }
|
|
// }
|
|
|
- //param.put("accountFilter",MapUtil.builder(new HashMap<String,Object>())
|
|
|
|
|
|
|
+ param.put("accountFilter",MapUtil.builder(new HashMap<String,Object>())
|
|
|
//.put("instanceId",accountWithMinUsage).build());
|
|
//.put("instanceId",accountWithMinUsage).build());
|
|
|
- //.put("modes",List.of(mode == 1 ? "FAST" : "RELAX")).build());
|
|
|
|
|
|
|
+ .put("",List.of(mode == 1 ? "FAST" : "RELAX")).build());
|
|
|
if (mode == 2) {
|
|
if (mode == 2) {
|
|
|
synchronized (user.getId()){
|
|
synchronized (user.getId()){
|
|
|
userSubmitLimit(user,action,param.get("customId"),again);
|
|
userSubmitLimit(user,action,param.get("customId"),again);
|