|
|
@@ -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;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|