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