WmptWap/App_LocalResources/NoticeHelper.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WMPT.Model;
using WMPT.SQLServerDAL;
/// <summary>
/// 此类主要处理给app发消息
/// </summary>
public class NoticeHelper
{
HttpContext context;
/// <summary>
/// 商家编号,或者骑士编号
/// </summary>
int shopid = 0;
string orderid = "";
/// <summary>
/// 推送类型,0.表示推送给商家 1.表示外卖订单推送给骑士 2表示跑腿订单推送给骑士
/// </summary>
int ordertype = 0;
IList<DeliverInfo> Dlist = null;
public NoticeHelper(HttpContext _context)
{
context = _context;
}
/// <summary>
/// 订单自动推给商家骑士母帐号
/// </summary>
/// <param name="_context"></param>
/// <param name="shopid"></param>
/// <param name="_ordertype">推送类型,0.表示推送给商家或其他 1.表示外卖订单推送给骑士 2表示跑腿订单推送给骑士</param>
public NoticeHelper(HttpContext _context, int _shopid, string _orderid, int _ordertype)
{
context = _context;
shopid = _shopid;
orderid = _orderid;
ordertype = _ordertype;
}
/// <summary>
/// 订单自动推给商家骑士母帐号
/// </summary>
/// <param name="_context"></param>
/// <param name="shopid"></param>
/// <param name="_ordertype">推送类型,0.表示推送给商家或其他 1.表示外卖订单推送给骑士 2表示跑腿订单推送给骑士</param>
public NoticeHelper(HttpContext _context, int _shopid, string _orderid, int _ordertype, IList<DeliverInfo> _list)
{
context = _context;
orderid = _orderid;
shopid = _shopid;
Dlist = _list;
ordertype = _ordertype;
}
/// <summary>
后面还有 114 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
