Commit 1ecbba7e authored by 宋新宇's avatar 宋新宇

controller

parent 8021ef87
package com.lwby.demo.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
/**
* @author Lenovo
* @version UserController.java, v 0.1 2021年08月13日 11:08 Lenovo Exp $
*/
@RestController
public class UserController {
@ResponseBody
@RequestMapping("userInfo")
public String getUserInfo() {
return "success";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment