mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-09-14 03:10:19 +08:00
新增用户个人信息的查询和更改
This commit is contained in:
@@ -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){
|
||||||
|
Reference in New Issue
Block a user