首页>代码>SSM(spring+springmvc+mybatis)开发汽车维修管理系统>/car-repair/src/com/controller/PersonalInfoController.java
package com.controller; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import com.service.PersonalInfoService; import com.service.UserService; import com.util.Result; @Controller @RequestMapping("/personalinfo") public class PersonalInfoController { @Resource private PersonalInfoService ps; @RequestMapping("/update.do") @ResponseBody public Result execute(String user_id,String real_name,String sex,String birthday, String email,String address,String tel_num,String remark){ System.out.println("쏵흙controller"); Result rs=ps.updatePersonalInfo(user_id, real_name, sex, birthday, email, address, tel_num, remark); System.out.println(rs.toString()); return rs; } @RequestMapping("/show.do") @ResponseBody public Result execute(String user_id){ System.out.println("쏵흙controller"); Result rs=ps.showPersonalInfo(user_id); System.out.println(rs.toString()); return rs; } }
最近下载更多
可是不知道么 LV23
2月26日
lwllll LV2
2023年9月26日
jiyun2021 LV9
2023年9月1日
hhhttu LV2
2023年5月21日
ewan007 LV29
2023年4月12日
哈哈ha zhh LV2
2023年2月26日
LITIANYU084414 LV11
2023年1月4日
微信网友_6112976589262848 LV2
2022年12月8日
微信网友_6248713511227392 LV11
2022年12月5日
杜宇林 LV2
2022年12月5日