Java Spring注解与接口开发 之二 —— 注解要求
顺序从上到下:Controller类名要加@RestController,引用service类定义加@Resource,函数@RequestMapping(value = "/list", method = RequestMethod.GET)@RestController@RequestMapping(value = "/rest/v1/user/info")public class UserInfoController { private static