liulingchao 4 éve
szülő
commit
50bcab0047

+ 1 - 6
dgtly-member/dgtly-member-api/src/main/java/com/dgtly/member/controller/MemberInfoController.java

@@ -78,15 +78,10 @@ public class MemberInfoController extends ApiBaseController {
     @PostMapping("/memberLogin")
     public Object memberLogin(){
         ParameterObject obj =  getParameterObject();
-        System.out.println("登录sessionId:"+getSession().getId());
         MemberInfo memberInfo = obj.parseBean(MemberInfo.class);
        //获取验证码
-        HttpServletRequest request = getRequest();
-        HttpSession httpSession = request.getSession();
+        HttpSession httpSession = getSession();
         String key = httpSession.getAttribute(Constants.KAPTCHA_SESSION_KEY)+"";
-        //验证码验证
-
-        System.out.println(key+"---"+memberInfo.getValidateCode());
 
         if(null != key && key.equals(memberInfo.getValidateCode())){
             MemberInfo memberInfo1 = iMemberInfoService.memberLogin(memberInfo);