public ActionResult ModifyPassword(int id, ModifyPasswordModel model)
 {
     return Json(YunClient.Instance.Execute(new ModifyPasswordUserRequest
     {
         Id = id,
         Password = model.Password,
         AppSecret = YunClient.AppSecret
     }, Member.Token).Result);
 }
 public ActionResult ModifyPassword(ModifyPasswordModel model)
 {
     if (ModelState.IsValid)
     {
         if (Member.ModifyLoginPassword(model.Password, model.NewPassword))
         {
             return RedirectToAction("ModifySuccess", "Member", new { area = "Mobile"});
         }
     }
     ModelState.AddModelError("Error", "原密码输入不正确!");
     return View(model);
 }
 public ActionResult ModifyPassword(int id, ModifyPasswordModel model)
 {
     if (ModelState.IsValid)
     {
         var req = YunClient.Instance.Execute(new ModifyPasswordUserRequest
         {
             Id = id,
             Password = model.NewPassword,
             AppSecret = YunClient.AppSecret
         }, Member.Token);
     
          return Json(!req.IsError);
     }
     return Json(false);
 }