package com.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import com.po.User;
import com.service.UserService;
@Controller
public class UserController {
@Autowired
public UserService userService;
@RequestMapping(value="/user")
public String getUserById(Model model){
User user=userService.selectByPrimaryKey(1);
model.addAttribute("user", user);
return "index";
}
}
最近下载更多
137455054 LV9
2022年10月6日
微信网友_5868223202873344 LV3
2022年4月14日
xiaot99 LV7
2021年12月22日
mxl165856 LV12
2020年9月26日
泪染珍珠 LV9
2020年9月7日
huasir2018 LV14
2020年5月19日
364550246 LV15
2020年4月22日
YURENJIABIN LV6
2020年4月1日
skipple3 LV39
2020年2月26日
aaaaqqq LV11
2019年12月8日
最近浏览更多
微信网友_7134912998903808 LV15
2024年9月13日
flygrass LV12
2024年3月28日
yyh1252 LV8
2023年12月9日
2237851964 LV1
2023年3月12日
cooper1
2022年12月14日
暂无贡献等级
137455054 LV9
2022年10月6日
1335203 LV10
2022年7月1日
qq1466625431 LV6
2022年6月28日
微信网友_6003579284262912
2022年6月15日
暂无贡献等级
爱写代码 LV12
2022年5月9日

