mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-05-06 19:49:26 +08:00
新增用户个人信息的查询和更改
This commit is contained in:
parent
a1d88bbe9c
commit
505d347861
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user