Exemplo n.º 1
0
        public IActionResult UpdUserPassword(Account a)
        {
            int h = 0;

            try
            {
                h = bll.UpdUserPassword(a);
            }
            catch (Exception ex)
            {
                log.Error(ex.Message);
            }
            return(Ok(new { state = h > 0 ? true : false, msg = h > 0 ? "修改成功" : "修改失败" }));
        }