|
@@ -0,0 +1,21 @@
|
|
|
|
+package com.caimei365.manager.controller.yanxuan;
|
|
|
|
+
|
|
|
|
+import com.caimei365.manager.entity.ResponseJson;
|
|
|
|
+import com.caimei365.manager.utils.HttpUtil;
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/yanxuan")
|
|
|
|
+@Api(tags = "测试")
|
|
|
|
+public class testApi {
|
|
|
|
+
|
|
|
|
+ @ApiOperation("测试接口")
|
|
|
|
+ @GetMapping("/test")
|
|
|
|
+ public ResponseJson test() {
|
|
|
|
+ return ResponseJson.success("测试");
|
|
|
|
+ }
|
|
|
|
+}
|