|
@@ -1,18 +0,0 @@
|
|
|
-package com.zksy.web.controller;
|
|
|
|
|
-
|
|
|
|
|
-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("/test")
|
|
|
|
|
-@Api("测试")
|
|
|
|
|
-public class Test11Controller {
|
|
|
|
|
- @GetMapping("/a")
|
|
|
|
|
- @ApiOperation("性与暴力")
|
|
|
|
|
- public String hello(){
|
|
|
|
|
- return "性与暴力";
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|