wenyu441069198 6 months ago
parent 5a3d210bc4
commit 435c12fd06
  1. 21
      src/main/java/com/teaching/backend/controller/UserController.java

@ -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…
Cancel
Save