mirror of
				https://github.com/FreeeBird/hotel.git
				synced 2025-11-04 14:34:47 +08:00 
			
		
		
		
	新增用户个人信息的查询和更改
This commit is contained in:
		@@ -17,6 +17,17 @@ public class UserController {
 | 
			
		||||
    @Autowired
 | 
			
		||||
    private UserService userService;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 更新资料
 | 
			
		||||
     * @param userName
 | 
			
		||||
     * @param password
 | 
			
		||||
     * @param name
 | 
			
		||||
     * @param phone
 | 
			
		||||
     * @param email
 | 
			
		||||
     * @param address
 | 
			
		||||
     * @param idNumber
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    @RequestMapping(method = RequestMethod.POST,value = "/updateProfile")
 | 
			
		||||
    public int updateProfile(String userName, String password, String name,
 | 
			
		||||
                              String phone, String email, String address, String idNumber){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user