MCPcopy Create free account
hub / github.com/diyhi/bbs / login

Method login

src/main/java/cms/controller/admin/AdminController.java:56–63  ·  view source on GitHub ↗

员工登录 @param username 账号 @param password 密码 @param captchaKey 验证码编号 @param captchaValue 验证码值 @param request 请求信息 @return

(String username,String password,String captchaKey,String captchaValue,
			HttpServletRequest request)

Source from the content-addressed store, hash-verified

54 * @return
55 */
56 @RequestMapping(value="/admin/login",method=RequestMethod.POST)
57 public RequestResult login(String username,String password,String captchaKey,String captchaValue,
58 HttpServletRequest request){
59 String ip = IpAddress.getClientIpAddress(request);
60 AdminAuthorization adminAuthorization = adminService.login(username,password, captchaKey, captchaValue, ip);
61
62 return new RequestResult(ResultCode.SUCCESS, adminAuthorization);
63 }
64
65
66

Callers

nothing calls this directly

Calls 2

getClientIpAddressMethod · 0.95
loginMethod · 0.65

Tested by

no test coverage detected