|
|
@@ -0,0 +1,22 @@
|
|
|
+package com.zhongshu.payment.server.core.controller.test;
|
|
|
+
|
|
|
+import com.zhongshu.card.client.ret.ResultContent;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping("test")
|
|
|
+@Tag(name = "测试")
|
|
|
+public class TestController {
|
|
|
+
|
|
|
+ @Operation(summary = "测试接口", description = "测试接口")
|
|
|
+ @RequestMapping(value = "text", method = {RequestMethod.GET})
|
|
|
+ public ResultContent text() {
|
|
|
+ return ResultContent.buildSuccess();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|