master
parent
5a3d210bc4
commit
435c12fd06
1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@ |
||||
package com.teaching.backend.controller; |
||||
|
||||
import org.springframework.stereotype.Controller; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RequestMethod; |
||||
import org.springframework.web.bind.annotation.ResponseBody; |
||||
|
||||
/** |
||||
* @Author:youhang |
||||
* @Date:2024-05-30-18:15 |
||||
* @Description: |
||||
*/ |
||||
@Controller |
||||
public class UserController { |
||||
|
||||
@RequestMapping(value = "/1",method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public String add(){ |
||||
return "yh"; |
||||
} |
||||
} |
Loading…
Reference in new issue