Commit 892d1ba3 authored by zhouqian's avatar zhouqian

rename some method, clear the semantic

parent f1716855
......@@ -109,38 +109,6 @@ public class UserController implements IBaseController {
return StringUtils.defaultString(targetPassword, "").equals(PasswordUtil.MD5(paramPass.toLowerCase() + pwdSalt));
}
/**
* 用户登录
*
* @param user
* @return
*/
// @RequestMapping("/login")
// public JsonResult login(Principal user) {
// if (user == null) {
// throw new NullUserException();
// }
//
// AuthBean bean = new AuthBean(getRequest().getSession().getId(), user);
//
// LOGGER.info("用户登录成功, loginFrom:{}, phoneNo:{},appChannel:{}", getCreatedFrom(), user.getName(), getAppChannel());
//
// return new JsonResult(bean);
// }
/**
* 用户快速登录
*
* @return
*/
/*@RequestMapping("/login/fast")
public JsonResult loginFast(Principal user) {
AuthBean bean = new AuthBean(getRequest().getSession().getId(), user);
LOGGER.info("用户快速登录成功, loginFrom:{}, phoneNo:{},appChannel:{}", getCreatedFrom(), user.getName(), getAppChannel());
return new JsonResult(bean);
}*/
@RequestMapping("/login/fast")
public JsonResult loginFast(
@RequestParam(required = false, defaultValue = "1") Long channelId, String appChannel,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment