コード例 #1
0
        /// <summary>
        ///  确认
        /// </summary>
        /// <param name="ids">操作的ID</param>
        /// <param name="verifyId">审核结果</param>
        /// Author  : Napoleon
        /// Created : 2015-06-25 11:13:01
        public ActionResult SureVerify(string ids, string verifyId)
        {
            string status = "failue", msg = "确认失败!", json;

            try
            {
                if (_newsContentsService.UpdateNewsVerify(ids, verifyId) > 0)
                {
                    status = "success";
                    msg    = "确认成功!";
                }
            }
            catch (Exception exception)
            {
                msg = "确认出错!";
                Log4Dao.InsertLog4(exception.Message);
            }
            json = PublicFunc.ModelToJson(status, msg);
            return(Content(json));
        }