| 限定符和类型 | 方法和说明 |
|---|---|
protected PeopleEntity |
BaseAction.getPeopleBySession()
获取用户session.没有返回null
|
protected PeopleEntity |
BaseAction.getPeopleBySession(javax.servlet.http.HttpServletRequest request)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
BaseAction.setPeopleBySession(javax.servlet.http.HttpServletRequest request,
PeopleEntity people)
设置用户session
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PeopleAction.changePassword(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
修改密码
|
void |
PeopleAction.changePhone(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
修改手机号
存在两种情况: 1、用户手机号之间进行过绑定,就需要通过短信发送验证码操作 2、用户手机没有绑定,就可以随意修改 |
void |
PeopleAction.checkPeopleCode(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
验证用户短信、邮箱验证码是否正确
|
void |
PeopleAction.resetPassword(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
修改密码
|
void |
PeopleAction.update(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新用户邮箱或手机号
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PeopleAction.cancelBind(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
解绑邮箱-> 验证用户输入的接收验证码
|
void |
PeopleAction.check(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
验证用户名、手机号、邮箱是否可用,同一时间只能判断一种,优先用户名称 ,只验证已绑定的用户,建议独立使用
|
void |
PeopleAction.checkLogin(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
登录验证,登录必须存在验证码
|
void |
PeopleAction.checkResetPasswordCode(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
验证重置密码过程中收到的验证码是否正确
|
void |
PeopleAction.checkSendCode(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
验证用户输入的接收验证码
|
void |
PeopleAction.isExists(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户名、邮箱、手机号验证 ,用户重置密码必须使用该接口
适用场景:? |
void |
PeopleAction.resetPassword(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户重置密码
当用户忘记登录密码时可以通过注册绑定的邮箱或绑定的手机号进行取回,操作过程中需要通过邮件模块与短信模块发送验证码给用户。 |
void |
PeopleAction.sendCode(PeopleEntity people,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户发送验证码,可以通过邮箱或手机发送
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PeopleBean
会员扩展数据,用于后台数据查询
|
class |
PeopleLoginBean
会员扩展数据,用于登录返回cookie
|
| 限定符和类型 | 方法和说明 |
|---|---|
PeopleEntity |
IPeopleBiz.getByPeople(PeopleEntity people,
int appId)
更具用户实体获取用户信息,
|
PeopleEntity |
IPeopleBiz.getEntityByCode(String userName,
String peopleCode,
int appId)
根据用户名(帐号,手机,邮箱)和验证码查询用户信息开始
|
PeopleEntity |
IPeopleBiz.getEntityByMailOrPhone(String userName,
int appId)
根据用户用户名查询用户实体
|
PeopleEntity |
IPeopleBiz.getEntityByUserName(String userName,
int appId)
根据用户用户名查询用户实体
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<PeopleEntity> |
IPeopleBiz.query(int appId,
Map where)
用户查询
|
List<PeopleEntity> |
IPeopleBiz.queryByAppIdAndMap(int appId,
Map whereMap)
已过时。
|
List<PeopleEntity> |
IPeopleBiz.queryPageListByAppId(int appId)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
PeopleEntity |
IPeopleBiz.getByPeople(PeopleEntity people,
int appId)
更具用户实体获取用户信息,
|
int |
IPeopleBiz.savePeople(PeopleEntity people)
用户有子类添加
|
void |
IPeopleBiz.updatePeople(PeopleEntity people)
根据用户ID进行用户实体的更新,用于有子类的更新操作
|
| 限定符和类型 | 方法和说明 |
|---|---|
PeopleEntity |
PeopleBizImpl.getByPeople(PeopleEntity people,
int appId) |
PeopleEntity |
PeopleBizImpl.getEntityByCode(String userName,
String peopleCode,
int appId) |
PeopleEntity |
PeopleBizImpl.getEntityByMailOrPhone(String userName,
int appId) |
PeopleEntity |
PeopleBizImpl.getEntityByUserName(String userName,
int appId)
根据用户用户名查询用户实体
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<PeopleEntity> |
PeopleBizImpl.query(int appId,
Map where) |
List<PeopleEntity> |
PeopleBizImpl.queryByAppIdAndMap(int appId,
Map whereMap) |
List<PeopleEntity> |
PeopleBizImpl.queryPageListByAppId(int appId)
根据AppId查询用户列表并进行分页
|
| 限定符和类型 | 方法和说明 |
|---|---|
PeopleEntity |
PeopleBizImpl.getByPeople(PeopleEntity people,
int appId) |
int |
PeopleBizImpl.savePeople(PeopleEntity people)
用户有子类增加
|
void |
PeopleBizImpl.updatePeople(PeopleEntity people)
根据用户ID进行用户实体的更新,用于有子类的更新操作
|
| 限定符和类型 | 方法和说明 |
|---|---|
PeopleEntity |
IPeopleDao.getByPeople(PeopleEntity people,
int appId)
根据用户信息查询对应用户
|
PeopleEntity |
IPeopleDao.getEntityByCode(String userName,
String peopleCode,
int appId)
根据用户的验证码和用户名(:手机号,邮箱,用户名称都可作为用户名登录)
|
PeopleEntity |
IPeopleDao.getEntityByMailOrPhone(String userName,
int appId)
根据用户用户名查询用户实体
|
PeopleEntity |
IPeopleDao.getEntityByUserName(String userName,
int appId)
根据用户用户名查询用户实体
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<PeopleEntity> |
IPeopleDao.query(int appId,
Map where)
用户查询
|
List<PeopleEntity> |
IPeopleDao.queryByAppIdAndMap(int appId,
Map whereMap)
根据应用id和其他查询条件查询用户列表信息
|
List<PeopleEntity> |
IPeopleDao.queryPageListByAppId(int appId)
根据AppId查询用户列表并进行分页
|
| 限定符和类型 | 方法和说明 |
|---|---|
PeopleEntity |
IPeopleDao.getByPeople(PeopleEntity people,
int appId)
根据用户信息查询对应用户
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PeopleOpenEntity
开发平台用户
|
class |
PeopleStudentEntity
学生信息实体
|
class |
PeopleUserEntity
用户基础信息表实体
|
Copyright © 2019. All rights reserved.