提交 68786c26 编写于 作者: weixin_45791472's avatar weixin_45791472

完善接口

上级 a2405962
...@@ -20,6 +20,7 @@ public class AtlasController { ...@@ -20,6 +20,7 @@ public class AtlasController {
@Autowired @Autowired
private AtlasMapper atlasMapper; private AtlasMapper atlasMapper;
//图鉴接口
@GetMapping("getAtlas") @GetMapping("getAtlas")
Result getAtlas() Result getAtlas()
{ {
......
...@@ -6,17 +6,17 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -6,17 +6,17 @@ import org.springframework.web.bind.annotation.RestController;
import java.util.Random; import java.util.Random;
@RequestMapping("test") @RequestMapping("ask111")
@RestController @RestController
public class testController { public class testController {
@GetMapping("port1") // @GetMapping("port1")
public String port1(){ // public String port1(){
return "6666"; // return "6666";
} // }
@GetMapping("port2") // @GetMapping("port2")
public String port2(){ // public String port2(){
return "8082"; // return "8082";
} // }
// @GetMapping("randomSeed") // @GetMapping("randomSeed")
// public String randomSeed(){ // public String randomSeed(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册