api.url.js 3.8 KB
export default {
  //示例,JS接口名,和服务端接口名称保持一致
  'App.TestManagement.Test': {
    silence: true,       //静默,不带loading;         默认 true 不带loading
    cachetime: 0,          //缓存 0无,-1永久,86400秒;    默认 0 不缓存
    timeout: 2000,      //接口超时时间,默认2s
    host: '',             //默认空使用04服务器,测试填写 'https://xt05.colorcun.com:10006/?s='
    alias: 'App.TestManagement.TestReal', //真实接口名称,默认为空
    openid:'openid'
  },

  //http://xt04.colorcun.com/docs.php?service=App.Seller.AddTableClass&detail=1&type=fold创建包间分类
  'App.Seller.AddTableClass':null,

  //http://xt04.colorcun.com/docs.php?service=App.Seller.SetTableClassFull&detail=1&type=fold置满包间分类
  'App.Seller.SetTableClassFull':null,

  //http://xt04.colorcun.com/docs.php?service=App.Seller.SetTableClass&detail=1&type=fold修改包间分类
  'App.Seller.SetTableClass':null,

  //http://xt04.colorcun.com/docs.php?service=App.Seller.GetSellerTableClass&detail=1&type=fold获取商家包间分类
  'App.Seller.GetSellerTableClass':null,

  //http://xt04.colorcun.com/docs.php?service=App.Seller.GetTableClassById&detail=1&type=fold获取包间分类详情
  'App.Seller.GetTableClassById':null,

  //http://xt04.colorcun.com/docs.php?service=App.Seller.SetReOrderTime&detail=1&type=fold设置接单时间
  'App.Seller.SetReOrderTime':null,

  //在线预订配置-获取已选、不可选的桌位
  'App.Seller.GetTableNotOption':null,
	//获取openid
	'App.Wechat.GetSellerOpenidByCode':null,
  
	//获取商家信息
   'App.Seller.GetSellerById':null,
   
   
   //获取商家列表
   'App.Seller.GetSystemByOpenid':null,
   
   //修改商家信息
   'App.Seller.SetSellerById':null,
   
   //获取商家配置信息
   'App.Seller.GetSellerConfig':null,
   
   //修改商家配送信息
   'App.Seller.SetSellerConfig':null,
   
   
   //添加打印机
   'App.Prints.AddPrints':null,
   
   
   //修改打印机
   'App.Prints.SetPrints':null,
   
   
   //获取打印机品牌类型
   'App.Prints.GetPrintsBrand':null,
   //获取打印机信息
   'App.Prints.GetPrintsById':null,
   
   
   //获取打印机列表
   'App.Prints.GetPrintsBySellerId':null,
   
   //删除打印机
   'App.Prints.DelPrints':null,
   
   //获取授权信息
   'App.Wechat.WxLogin':null,
   
   
   
   //获取店员列表
   'App.Seller.GetAuthUserLists':null,
   
   //获取店员信息
   'App.Seller.GetAuthUser':null,
   
   //编辑店员信息
   'App.Seller.EditAuthUser':null,
   
   //移除店员
   'App.Seller.DeleteAuthUser':null,
   
   
   
   
   //获取菜品份类
   'App.Cookbook.GetCookbookClassBySellerId':null,
   
   //获取菜品数据-商户
   'App.Cookbook.GetCookbookByClass':null,
   
   //获取菜品数据-顾客
   'App.Cookbook.NewGetCookbookByClass':null,
   //添加菜品
   'App.Orders.AddCart':null,
   //减菜品
   'App.Orders.ReduceOrder':null,
   //获取购物车数据
   'App.Orders.GetCartByOpenid':null,
   
   
   'App.Orders.GetOrderTotalMoney':null,
   
   //添加收货地址
   'App.User.AddAddress':null,
   //获取收货地址
   'App.User.GetOpenidAddress':null,
   //创建订单
   'App.Orders.CreateOrder':null,
   'App.Pay.WxPay':null,
   'App.PayOnline.CombineTransactionsByRecharge':null,
   //获取订单详情
   'App.Orders.GetOrderById':null,
   //获取订单列表
   'App.Orders.GetOrderListByOpenid':null,
   'App.Orders.SetOrderById':null,
   
   
   'App.Orders.GetOrderBySellerid':null,
   
   
   //清空购物车
   'App.Orders.ClearCar':null,
   
   
   'App.Pay.Refund':null,
   
   //订单汇总
   'App.Orders.GetSellerSummaryOrder':null,
   
   
   //批量添加员工
   'App.Seller.BatchAddUser':null,
   
   //获取添加员工二维码
   'App.Seller.CreatebatchQrcode':null
   
}