lchao 1 kuukausi sitten
vanhempi
commit
d802bb88f6

+ 21 - 0
src/main/java/com/sooka/sponest/monitor/AIzhongtai/controller/ThirdOAuth.java

@@ -0,0 +1,21 @@
+package com.sooka.sponest.monitor.AIzhongtai.controller;
+
+import com.alibaba.fastjson.JSONObject;
+import com.ruoyi.common.core.web.controller.BaseController;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/AI")
+public class ThirdOAuth extends BaseController {
+    @PostMapping("/thirdOAuth")
+    public JSONObject thirdOAuth(@RequestBody JSONObject json){
+        System.out.println(json);
+        JSONObject object = new JSONObject();
+        object.put("code", 200);
+        return object;
+    }
+
+}