|
|
@@ -0,0 +1,16 @@
|
|
|
+package com.izouma.nineth.web;
|
|
|
+
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@Slf4j
|
|
|
+public class OSSAuditController {
|
|
|
+
|
|
|
+ @PostMapping("/ossNotify")
|
|
|
+ public String ossNotify(String checksum, String content) {
|
|
|
+ log.info("oss违规检测通知, checksum={}, content={}", checksum, content);
|
|
|
+ return "ok";
|
|
|
+ }
|
|
|
+}
|