private void initFindPass() {
   setTitle("密码找回");
   phoneNum = getIntent().getStringExtra(BUNDLE_PARAM_PHONENUM);
   passportId = getIntent().getStringExtra(BUNDLE_PARAM_PASSPORTID);
   spToken = getIntent().getStringExtra(BUNDLE_PARAM_SPTOKEN);
   if (StringUtils.isEmpty(phoneNum)
       || StringUtils.isEmpty(passportId)
       || StringUtils.isEmpty(spToken)) {
     Toast.makeText(this, "账户错误", Toast.LENGTH_SHORT).show();
     finish();
     return;
   }
   jrjAccount.setText(StringUtils.maskMobile(phoneNum));
   passwdLo.setVisibility(View.VISIBLE);
   unameLo.setVisibility(View.GONE);
 }
 @Override
 public void onClick(View v) {
   // TODO Auto-generated method stub
   super.onClick(v);
   switch (v.getId()) {
     case R.id.finish:
       Map<String, String> params = new HashMap<String, String>();
       switch (type) {
         case TYPE_FIND_PASS:
           {
             String passwdStr = passwd.getText().toString();
             if (StringUtils.isEmpty(passwdStr)) {
               Toast.makeText(FindPass2Activity.this, "请输入密码", Toast.LENGTH_SHORT).show();
               return;
             }
             CheckResponse checkResponse = CheckUtils.isValidPassword(passwdStr);
             if (!checkResponse.isValid) {
               Toast.makeText(FindPass2Activity.this, checkResponse.rtMsg, Toast.LENGTH_SHORT)
                   .show();
               return;
             }
             //					params.put("password", passwdStr);
             params.put("password", StringUtils.md5(passwdStr.toLowerCase(Locale.CHINA)));
             params.put("password1", StringUtils.md5(passwdStr));
             params.put("mobile", phoneNum);
             params.put("passportId", passportId);
             params.put("bizSource", "android");
             params.put("spToken", spToken);
             break;
           }
         case TYPE_NO_USERNAME_NO_MOBILE:
           {
             userName = etUname.getText().toString();
             if (StringUtils.isEmpty(userName)) {
               Toast.makeText(FindPass2Activity.this, "请输入用户名", Toast.LENGTH_SHORT).show();
               return;
             }
             CheckResponse checkResponse = CheckUtils.CheckUserName(userName);
             if (!checkResponse.isValid) {
               Toast.makeText(FindPass2Activity.this, checkResponse.rtMsg, Toast.LENGTH_SHORT)
                   .show();
               return;
             }
             params.put("passportName", userName);
             params.put("mobile", phoneNum);
             params.put("passportId", passportId);
             params.put("bizSource", "android");
             params.put("spToken", spToken);
             break;
           }
         case TYPE_NO_USERNAME_HAS_MOBILE:
           {
             userName = etUname.getText().toString();
             if (StringUtils.isEmpty(userName)) {
               Toast.makeText(FindPass2Activity.this, "请输入用户名", Toast.LENGTH_SHORT).show();
               return;
             }
             CheckResponse checkResponse = CheckUtils.CheckUserName(userName);
             if (!checkResponse.isValid) {
               Toast.makeText(FindPass2Activity.this, checkResponse.rtMsg, Toast.LENGTH_SHORT)
                   .show();
               return;
             }
             params.put("passportName", userName);
             params.put("passportId", passportId);
             params.put("bizSource", "android");
             params.put("spToken", spToken);
             break;
           }
       }
       rigist.updateUserInfo(params);
       break;
   }
 }