Пример #1
0
        /// <summary>
        /// 删除签名商品
        /// </summary>
        /// <param name="recordId">记录id</param>
        /// <param name="sign">签名</param>
        /// <returns></returns>
        public ActionResult DelSignProduct(int recordId = -1, string sign = "")
        {
            bool result = AdminProducts.DeleteSignProduct(recordId, sign);

            if (result)
            {
                AddAdminOperateLog("删除签名商品", "删除签名商品,记录ID为" + recordId);
                return(Content("1"));
            }
            else
            {
                return(Content("0"));
            }
        }