|
|
@@ -446,6 +446,15 @@ public class MidjourneyController {
|
|
|
midjourneyService.notifyHook(json);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/notifyHook1")
|
|
|
+ public void notifyHook1(HttpServletRequest request) throws Exception {
|
|
|
+ InputStream inputStream = request.getInputStream();
|
|
|
+ byte[] bytes = IoKit.toBytes(inputStream);
|
|
|
+ String json = new String(bytes, StandardCharsets.UTF_8);
|
|
|
+ inputStream.close();
|
|
|
+ log.info("接口回调notifyHook1 : {}",json);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
/**
|