@Controller public class UserController extends Object
| Constructor and Description |
|---|
UserController() |
| Modifier and Type | Method and Description |
|---|---|
String |
batchgetUserInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer num,
Integer start)
show 批量更新unionid
|
String |
dateTime() |
String |
getCopartner(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer level)
show 获取合伙人
|
String |
getUserDetail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel)
show 用户详情
|
String |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel,
String code,
String mobile,
String verificationCode,
String openid,
String os,
String deviceToken)
show 用户登录
|
static void |
main(String[] args) |
String |
sendVerify(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String type)
show 验证码发送
|
String |
setProxy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String verificationCode,
String invitationCode)
show 申请代理
|
String |
testLongin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String url)
拦截器用户状态异常返回
|
@RequestMapping(value="/a/u/proxy",
method=PUT)
public String setProxy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String verificationCode,
String invitationCode)
throws Exception
mobile - 手机号verificationCode - 验证码invitationCode - 邀请码Exception - 异常信息@RequestMapping(value="/a/wx/login",
method=POST)
public String login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel,
String code,
String mobile,
String verificationCode,
String openid,
String os,
String deviceToken)
throws Exception
code - 微信授权码mobile - 手机号verificationCode - 验证码openid - openid Xos - os ios android 默认h5deviceToken - 设备idException - 异常信息@RequestMapping(value="/a/u/user/detail",
method=GET)
public String getUserDetail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel)
throws Exception
Exception - 异常信息@RequestMapping(value="/a/u/copartner/list",
method=GET)
public String getCopartner(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer level)
throws Exception
level - 合伙人等级 1下级2下下级Exception - 异常信息@RequestMapping(value="/a/update/unionid",
method=PUT)
public String batchgetUserInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer num,
Integer start)
throws Exception
num - 数量Exception - 异常信息@RequestMapping(value="/a/code/send",
method=POST)
public String sendVerify(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String type)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
mobile - 手机type - 验证码类型com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic String dateTime()
@RequestMapping(value="/a/login/statusOff",
method=GET)
public String testLongin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String url)
request - response - model - url - public static void main(String[] args)
Copyright © 2018. All rights reserved.