|
@@ -312,7 +312,7 @@ public class MirrorController {
|
|
|
public void midjourneyMirror(@PathVariable Long relationId,HttpServletResponse response) throws IOException {
|
|
public void midjourneyMirror(@PathVariable Long relationId,HttpServletResponse response) throws IOException {
|
|
|
Long userId = StpUserUtil.getLoginIdAsLong();
|
|
Long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
String userToken = midjourneyAccountService.getMidjourneyUserToken(userId, relationId);
|
|
String userToken = midjourneyAccountService.getMidjourneyUserToken(userId, relationId);
|
|
|
- response.sendRedirect( midjourneyHost + "/applets/mirror/midjourneyMirrorWithToken/" + userToken);
|
|
|
|
|
|
|
+ response.sendRedirect( midjourneyHost + "/8081/api/applets/mirror/midjourneyMirrorWithToken/" + userToken);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping("/midjourneyMirrorWithToken/{userToken}")
|
|
@GetMapping("/midjourneyMirrorWithToken/{userToken}")
|