zoujiajian 2 лет назад
Родитель
Сommit
0bd731f027

+ 3 - 3
luma/src/main/java/com/yhlxj/service/midjourney/impl/LumaServiceImpl.java

@@ -158,7 +158,7 @@ public class LumaServiceImpl implements LumaService {
         if (StrUtil.isNotBlank(imageEndUrl)) {
             videoParam.put("image_end_url", imageEndUrl);
         }
-        videoParam.put("notify_hook", lumaHost + (EnvCommonService.active_pre.equals(envCommonService.getEnv()) ? "/8083" : "/8084") + VIDEO_NOTIFY_URL);
+        videoParam.put("notify_hook", lumaHost + (EnvCommonService.active_pre.equals(envCommonService.getEnv()) ? "/8083" : "/8085") + VIDEO_NOTIFY_URL);
         SubmitResult result = submit(user, videoParam, num);
         LumaUserConversation lumaUserConversation = saveConversation(user.getId(), result, prompt);
         result.setRid(lumaUserConversation.getId());
@@ -273,8 +273,8 @@ public class LumaServiceImpl implements LumaService {
         if (StrUtil.isNotBlank(imageEndUrl)) {
             videoParam.put("image_end_url", imageEndUrl);
         }
-        //线上接口8084
-        videoParam.put("notify_hook", lumaHost + (EnvCommonService.active_pre.equals(envCommonService.getEnv()) ? "/8083" : "/8084") + VIDEO_NOTIFY_URL);
+        //线上接口8085
+        videoParam.put("notify_hook", lumaHost + (EnvCommonService.active_pre.equals(envCommonService.getEnv()) ? "/8083" : "/8085") + VIDEO_NOTIFY_URL);
 
         HttpRequest request = HttpRequest.post(url).setConnectionTimeout(10000).body(Jsons.toJson(videoParam));
         request.header("Authorization", AUTH);