We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package me.zhengjie.rest;
import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController;
@RestController @requiredargsconstructor @RequestMapping("/api/demo") @Api(tags = "demo") public class DemoController {
@ApiOperation("演示") @GetMapping(value = "/test") public ResponseEntity queryTables(@RequestParam(defaultValue = "") String name){ return new ResponseEntity<>("111", HttpStatus.OK); }
}
新模块下pom文件
sys下的pom文件 外层pom
The text was updated successfully, but these errors were encountered:
No branches or pull requests
package me.zhengjie.rest;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestController
@requiredargsconstructor
@RequestMapping("/api/demo")
@Api(tags = "demo")
public class DemoController {
}
新模块下pom文件
sys下的pom文件
外层pom
The text was updated successfully, but these errors were encountered: