示例#1
0
 /// <summary>
 /// 商品出售或停售
 /// </summary>
 /// <param name="GoodsID">商品id</param>
 /// <returns></returns>
 public JsonResult GoodsDel(string GoodsID)
 {
     if (GoodsBll.GoodsDel(Convert.ToInt32(GoodsID)))
     {
         return(Json(1, JsonRequestBehavior.AllowGet));
     }
     return(Json(0, JsonRequestBehavior.AllowGet));
 }