Esempio n. 1
0
 /// <summary>
 /// 密码修改
 /// </summary>
 /// <param name="old"></param>
 /// <param name="newPwd"></param>
 /// <returns></returns>
 public ActionResult ChangePwd(string old, string newPwd)
 {
     if (MyTicket.CurrentTicket == null)
     {
         return new HomeController().Login();
     }
     OperatorRule rule = new OperatorRule();
     bool result = rule.ChangePwd(MyTicket.CurrentTicket.UserID, old, newPwd);
     return Json(result, JsonRequestBehavior.AllowGet);
 }