rabbit
parent
cd48a1e974
commit
b66b16bbf5
|
@ -1,6 +1,7 @@
|
||||||
package com.muyu.pay.server.controller;
|
package com.muyu.pay.server.controller;
|
||||||
|
|
||||||
import com.muyu.common.core.domain.Result;
|
import com.muyu.common.core.domain.Result;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
@ -14,7 +15,7 @@ public class TestController {
|
||||||
return Result.success("post成功");
|
return Result.success("post成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("get")
|
@GetMapping("get")
|
||||||
public Result<String> get(){
|
public Result<String> get(){
|
||||||
return Result.success("get成功");
|
return Result.success("get成功");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue