|
@@ -17,13 +17,6 @@ public class UserController {
|
|
|
@Autowired
|
|
|
private UserService userService;
|
|
|
|
|
|
- /*
|
|
|
- *@Author huangyuan
|
|
|
- *@Description 用户登录
|
|
|
- *@Date 15:56 2019-11-26
|
|
|
- *@Param [userId]
|
|
|
- *@return cn.com.ty.lift.system.entity.User
|
|
|
- **/
|
|
|
@RequestMapping("/login")
|
|
|
@ResponseBody
|
|
|
public User getUser(String userId){
|
|
@@ -31,6 +24,12 @@ public class UserController {
|
|
|
return user;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @description
|
|
|
+ * @date 2019/11/27 10:03 AM
|
|
|
+ * @param
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@PostMapping("/addUser")
|
|
|
@ResponseBody
|
|
|
public Object addUserInfo(UserInfo userInfo){
|