@Controller public class UserController extends Object
| Constructor and Description |
|---|
UserController() |
| Modifier and Type | Method and Description |
|---|---|
String |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel,
String mobile,
String pwd,
String model,
String os,
String version,
String device_token) |
String |
register(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel,
String mobile,
String pwd,
String verify,
String idcard,
String model,
String os,
String version,
String device_token) |
String |
rewritepwd(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String verify,
String newpwd) |
String |
sendVerify(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String type) |
String |
sendVoice(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String type) |
@RequestMapping(value="/a/doctor/login",
method=POST)
public String login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel,
String mobile,
String pwd,
String model,
String os,
String version,
String device_token)
throws Exception
Exception@RequestMapping(value="/a/doctor/register",
method=POST)
public String register(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap mapModel,
String mobile,
String pwd,
String verify,
String idcard,
String model,
String os,
String version,
String device_token)
throws Exception
Exception@RequestMapping(value="/a/doctor/password/forget",
method=PUT)
public String rewritepwd(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String mobile,
String verify,
String newpwd)
throws Exception
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
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoException@RequestMapping(value="/a/code/voice",
method=POST)
public String sendVoice(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
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.