/**
  * 用户名|手机号/密码登录
  *
  * @param userName 用户名|手机号
  * @param passwd 密码
  * @return
  * @throws Exception
  */
 protected EucAuthResult login(String userName, String passwd) throws Exception {
   EucApiResult<EucAuthResult> result =
       EucApiAuthCall.login(userName, passwd, "app", getRequestInfo());
   if (isReturnSuc(result)) {
     Assert.assertTrue("用户名|手机号/密码登录", result.getResult() != null);
   } else {
     Assert.assertFalse("用户名|手机号/密码登录【" + getErrorDesc(result) + "】", true);
   }
   return result.getResult();
 }
 protected EucAuthResult login() throws Exception {
   MockHttpServletRequest request = new MockHttpServletRequest();
   MockHttpServletResponse response = new MockHttpServletResponse();
   // TODO 登录
   EucApiResult<EucAuthResult> result =
       EucApiAuthCall.login(
           request, response, LOGIN_MOBILE, LOGIN_MOBILE_PASS_WD, true, getRequestInfo());
   if (CodeConstant.OK.equals(result.getResultCode())) {
     Assert.assertTrue("登录验证", result.getResult() != null);
   } else {
     Assert.assertFalse("登录验证失败【" + getErrorDesc(result) + "】", true);
   }
   return result.getResult();
 }