/// <summary> /// 删除字典信息 /// </summary> /// <param name="rq"></param> /// <returns></returns> public ResultModel <string> DeleteConfig(DelParameterRQ rq) { return(new ResultModel <string> { state = 0, message = "删除失败!", data = "0" }); }
/// <summary> /// 删除订单 /// </summary> /// <param name="rq"></param> /// <returns></returns> public ResultModel <string> DelOrders(DelParameterRQ rq) { var obj = Order.FindById(rq.id); int nCount = obj.Delete(); return(new ResultModel <string> { state = nCount, message = nCount > 0 ? "删除成功!" : "操作失败!", data = nCount.ToString() }); }
public ResultModel <string> DeleteConfig(DelParameterRQ rq) { return(_service.DeleteConfig(rq)); }
public ResultModel <string> DelOrders(DelParameterRQ rq) { return(_service.DelOrders(rq)); }