较多改动,暂存
This commit is contained in:
		@@ -4,6 +4,7 @@ package com.cxyxiaomo.epp.test.controller;
 | 
			
		||||
 | 
			
		||||
import org.springframework.web.bind.annotation.GetMapping;
 | 
			
		||||
import org.springframework.web.bind.annotation.PathVariable;
 | 
			
		||||
import org.springframework.web.bind.annotation.PostMapping;
 | 
			
		||||
import org.springframework.web.bind.annotation.RestController;
 | 
			
		||||
 | 
			
		||||
@RestController
 | 
			
		||||
@@ -22,4 +23,9 @@ public class TestController {
 | 
			
		||||
    public String hi(@PathVariable("id") String id) {
 | 
			
		||||
        return id;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @PostMapping("/test")
 | 
			
		||||
    public String post(){
 | 
			
		||||
        return "POST OK";
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user