http_url.dart 18.6 KB
class HttpUrl {
  static const String server_address = "https://xt04.colorcun.com/"; //服务端请求地址
  static const String app_user_login =
      "?service=Android.User.AppUserLogin"; //登录地址
  static const String user_token_init =
      "?service=Android.User.UserTokenInit"; //初始化推送token
  static const String sellerinfo =
      "?service=Android.Reserve.SellerInfo"; //获取商家信息
  static const String login_out = "?service=Android.User.AppLoginOut"; //退出登录
  static const String get_message_list =
      "?service=Android.Reserve.GetMessageList"; //获取消息列表
  static const String get_message_num =
      "?service=Android.Reserve.GetUnMsgTotal"; //获取未处理消息数目
  static const String get_reserve_list =
      "?service=Android.Reserve.NewGetReserveList"; //获取已预订列表
  static const String reserve_count_day =
      "?service=Android.Reserve.NewReservesCountDay"; //获取一天订单统计数目
  static const String reserve_detail = "?service=Android.Reserve.Detail"; //订单详情
  static const String set_reserve_cusman =
      "?service=Android.Reserve.SetReserveCusman"; //设置客户经理
  static const String table_list =
      "?service=Android.Tables.GetTableListsBySellerId"; //桌位列表
  static const String set_reserve_status =
      "?service=Android.Customer.SetReserveStatus"; //设置订单状态
  static const String set_message_status =
      "?service=Android.Advance.SetMessageStatus"; //设置消息状态
  static const String get_sms_content =
      "?service=App.SendSMS.GetSmsContent"; //获取短信内容
  static const String send_sms = "?service=App.SendSMS.NewMessage"; //发送短信
  static const String check_update =
      "http://xt03.colorcun.com/admin/api/compareversion?flat=3";
  static const String upload_contact =
      "?service=App.Seller.SaveCallRecord"; //上传通讯录
  static const String get_table_list =
      "?service=Android.Reserve.NewGetTableList"; //根据商家ID 获取桌位信息列表: 1:散座 2:包间 默认:获取所有数据
  static const String set_reserve_info =
      "?service=Android.Reserve.SetReserveInfo"; //录入/更改内部预订
  static const String set_customer_info =
      "?service=Android.Customer.SetReserveInfo"; //更改在线预订
  static const String set_switch_status =
      "?service=App.Reserve.SetSwitchStatus"; //启用/停用桌位
  static const String sms_info = "?service=App.SendSMS.SmsInfo"; //短信余量查询及套餐查询接口
  static const String set_seller_info =
      "?service=App.Seller.SetSellerById"; // 根据商家ID设置商家信息
  static const String get_seller_info =
      "?service=App.Seller.GetSellerById"; // 根据商家ID获取商家信息
  static const String set_order_time =
      "?service=App.Seller.SetReOrderTime"; //在线预订配置-接单时间

  static const String get_custom_remark =
      "?service=App.User.GetCustomRemark"; //获取常用备注

  static const String del_custom_remark =
      "?service=App.User.DelCustomRemark"; //删除常用备注

  static const String add_custom_remark =
      "?service=App.User.AddCustomRemark"; //添加常用备注

  static const String get_reserve_user =
      "?service=App.Reserve.GetReserveUser"; //获取历史录入联系人

  static const String get_order_food =
      "?service=App.Advance.CreateOrder"; //顾客扫桌码点餐-扫码创建订单
  static const String get_reserve_detail =
      "?service=App.Reserve.Detail"; //订座详情页面
  static const String get_qiniu_info =
      "?service=App.Qiniu.GetUploadToken"; //获取七牛上传token信息
  static const String get_order_info =
      "?service=App.Customer.GetOrderInfo"; //获取账单详情
  static const String update_order_info =
      "?service=App.Customer.UpdateOrderInfo"; // 商家确认账单
  static const String new_get_reserve_list =
      "?service=App.Reserve.NewGetReserveList"; //商家预订本列表【2019-11-26】
  static const String create_customer_activity =
      "?service=App.Activity.CreateCustomerActivity"; //客户经理创建活动
  static const String get_customer_activity =
      "?service=App.Activity.NewCustomerActivityList"; //获取所创建活动的列表

  static const String set_customer_activity =
      "?service=App.Activity.SetCustomerActivity"; //修改所创建活动的列表
  static const String set_activity_as_reserve =
      "?service=App.Activity.SetActivityAsReserve"; //设置预定绑定活动ID
  static const String get_activity_by_rid =
      "?service=App.Activity.GetActivityByRid"; //获取预定绑定活动
  static const String set_customer_activity_baseinfo =
      "?service=App.Activity.SetCustomerActivityBaseinfo"; //客户经理添加/修改基本信息
  static const String get_customer_activity_baseinfo =
      "?service=App.Activity.GetCustomerActivityBaseinfo"; //客户经理获取基本信息
  static const String get_seller_photo_by_id =
      "?service=App.Photo.getSellerPhotoById"; //查看商家图片
  static const String send_vc_code =
      "?service=App.SendSMS.SendVcCode"; //绑定手机号码时,给用户发送短信验证码接口
  static const String check_seller_acc =
      "?service=App.User.CheckSellerAcc"; //APP微信登录后检测是否存在商家
  static const String app_sendsms_wxSendSms =
      "?service=App.SendSMS.WxSendSms"; //预订安排发短信
  static const String add_seller_info =
      "?service=App.Seller.AddSeller"; //添加商家信息
  static const String get_seller_user_info =
      "?service=App.Seller.GetUserData"; //添加商家信息和当前登录人的信息
  static const String check_bind_phone =
      "?service=App.User.CheckbindPhone"; //APP微信登录后检测是否绑定过手机号
  static const String get_integral_list =
      "?service=App.Activity.GetIntegralList"; //获取客户经理积分列表
  static const String add_table_area =
      "?service=App.Tables.AddTableRegion"; // 添加商家桌位区域
  static const String get_area_by_sellerid =
      "?service=App.Tables.GetRegionBySellerid"; //  获取区域列表
  static const String add_table = "?service=App.Tables.AddTable"; //  添加商家桌位信息
  static const String add_forward =
      "?service=App.Activity.AddForward"; //  客户经理转发记录
  static const String up_reserve_info =
      "?service=App.Reserve.UpReserveInfo"; //  编辑订单附加信息
  static const String set_table_photo =
      "?service=App.Tables.SetTablePhoto"; //   App设置桌位关联图片
  static const String get_table_photo =
      "?service=App.Tables.GetTablePhoto"; //  App获取桌位关联图片
  static const String get_tables_photo =
      "?service=App.Tables.GetTablesPhoto"; //  App获取所传多个桌位关联图片

  static const String del_table_photo =
      "?service=App.Tables.DelTablePhoto"; //  Apps删除桌位关联图片

  static const String get_statistics_list =
      "?service=App.Reserve.ReserveStatistics"; //App订单统计

  static const String get_seller_tableclass =
      "?service=App.Seller.GetSellerTableClass"; //获取商家包间类型

  static const String set_table_class_full =
      "?service=App.Seller.SetTableClassFull"; // 在线预订配置-置满包间分类

  static const String get_table_fill_update =
      "?service=App.Customer.GetTableFillUpDate"; //  根据指定日期,返回当前商家包间类型置满情况的日期

  static const String app_pay_sub = "?service=App.Pay.AppPaySub"; //  微信支付

  static const String get_table_class_by_id =
      "?service=App.Seller.GetTableClassById"; //  获取包间分类
  static const String set_table_class =
      "?service=App.Seller.SetTableClass"; // 添加/修改包间分类
  static const String get_cookbook_by_class =
      "?service=App.Cookbook.GetCookbookByClass"; //分类下所有菜品列表(1.传orderid顾客端获取带订单信息的 否则不传
  static const String get_cookbook_by_seller_id =
      "?service=App.Cookbook.GetCookbookClassBySellerId"; //获取商家所有菜品分类
  static const String del_cookbook_by_id =
      "?service=App.Cookbook.DelCookbookClassById"; //删除菜品分类
  static const String add_cookbook_class =
      "?service=App.Cookbook.AddCookbookClass"; //添加菜品分类信息
  static const String add_cookbook = "?service=App.Cookbook.AddCookbook"; //添加菜品
  static const String get_spec_by_sellerid =
      "?service=App.Cookbook.GetSpecBySellerid"; //获取商家计价单位
  static const String get_cookbook_by_id =
      "?service=App.Cookbook.GetCookbookById"; // 获取单个菜品信息
  static const String get_auth_user_lists =
      "?service=App.Seller.GetAuthUserLists"; // 店员列表
  static const String add_seller_clerk =
      "?service=App.Seller.AddsellerClerk"; //  添加店员
  static const String set_user_is_call =
      "?service=App.Seller.SetUserIsCall"; //  运营设置商家接单人
  static const String delete_auth_user =
      "?service=App.Seller.DeleteAuthUser"; //   删除店员
  static const String edit_auth_user =
      "?service=App.Seller.EditAuthUser"; //  编辑店员
  static const String bind_phone_seller_user =
      "?service=App.Seller.BindPhoneSellerUser"; //  账号表-员工绑定手机号
  static const String get_password =
      "?service=App.Seller.GetPassword"; // 商户端查看密码
  static const String update_password =
      "?service=App.Seller.UpdatePassword"; //  员工密码修改

  static const String guest_manage =
      "?service=App.GuestManage.GuestManage"; //我的客户首页

  static const String get_customer_list =
      "?service=App.GuestManage.GetCustomerList"; //用来获取客户列表
  static const String get_guest_info =
      "?service=App.GuestManage.GetGuestInfo"; // 获取客户详情
  static const String get_guest_reserve =
      "?service=App.GuestManage.GetGuestReserve"; // 客户订单统计
  static const String create_marketing =
      "?service=App.GuestManage.CreateMarketing"; // 创建营销
  static const String set_guest_info =
      "?service=App.GuestManage.SetGuestInfo"; //  修改客户信息
  static const String seller_guest_set =
      "?service=App.GuestManage.SellerGuestSet"; //  商家修改客情配置
  static const String create_label_by_sellerid =
      "?service=App.GuestManage.CreateLabelBySellerid"; //   商家创建商家标签
  static const String create_marketing_by_seller =
      "?service=App.GuestManage.CreateMarketingBySeller"; //   商家创建营销
  static const String get_marketing_by_seller =
      "?service=App.GuestManage.GetMarketingBySeller"; //   商家营销列表
  static const String get_marketing_by_id =
      "?service=App.GuestManage.GetMarketingById"; //  商家营销详情
  static const String set_guest_info_cday =
      "?service=App.GuestManage.SetGuestCday"; //  设置客户纪念日
  static const String seller_guest_get =
      "?service=App.GuestManage.SellerGuestGet"; //  获取商家客情设置
  static const String get_label_by_sellerid =
      "?service=App.GuestManage.GetLabelBySellerid"; //  获取商家标签
  static const String set_label_by_sellerid =
      "?service=App.GuestManage.SetLabelBySellerid"; //  商家修改标签
  static const String seller_guest_manage =
      "?service=App.GuestManage.SellerGuestManage"; //  全店客情
  static const String set_marketing_by_seller =
      "?service=App.GuestManage.SetMarketingBySeller"; //  商家修改营销
  static const String get_guest_by_gid =
      "?service=App.GuestManage.GetGuestByGid"; // 客户经理营销中的用户列表
  static const String get_marketing_by_uid =
      "?service=App.GuestManage.GetMarketingByUid"; // 客户经理营销列表
  static const String get_customer_by_seller =
      "?service=App.GuestManage.GetCustomerBySeller"; // 全店客户列表
  static const String pull_marketing_by_uid =
      "?service=App.GuestManage.PullMarketingByUid"; // 获取推送失败的营销消息
  static const String set_pull_marketing_by_id =
      "?service=App.GuestManage.SetPullMarketingByid"; // 修改拉取后消息的状态
  static const String del_guest_cday =
      "?service=App.GuestManage.DelGuestCday"; // 删除纪念日
  static const String set_marketing_status_by_uid =
      "?service=App.GuestManage.SetMarketingStatusByUid"; //  修改完成任务后的状态
  static const String get_seller_user_by_sellerid =
      "?service=App.GuestManage.GetSellerUserBySellerid"; //  获取客户经理列表
  static const String send_marketing_msg_by_mid =
      "?service=App.GuestManage.SendMarketingMsgByMid"; //  催促未完成任务经理发消息
  static const String get_table_type =
      "?service=App.Tables.GetTabletype"; //   获取桌子类型列表
  static const String set_table_by_id =
      "?service=App.Tables.SetTableById"; //  修改桌位信息
  static const String del_seller_tables =
      "?service=App.Tables.DelSellerTables"; // 商户端删除桌位
  static const String set_table_region_by_id =
      "?service=App.Tables.SetTableRegionById"; // 修改商家桌位区域
  static const String del_table_region =
      "?service=App.Tables.DelTableRegion"; // 删除区域同时删除区域下面的桌位
  static const String batch_set_table =
      "?service=App.Tables.BatchSetTable"; // 批量修改桌位信息
  static const String push_msg_set_message_status =
      "?service=App.PushMsg.SetMessage"; //设置消息状态
  static const String new_get_untreated_msg_list =
      "?service=Android.Reserve.NewGetUntreatedMsgList"; //根据不同得消息类型获取对应得消息列表
  static const String new_get_message_list =
      "?service=Android.Reserve.NewGetMessageList"; //根据不同得消息类型获取对应得消息列表
  static const String get_seller_reserve_total =
      "?service=Android.Reserve.GetSellerReserveTotal"; // 获取商家时间区间内订单数量
  static const String add_staff = "?service=App.Banquet.AddStaff"; // 添加宴会员工
  static const String get_staff = "?service=App.Banquet.GetStaff"; // 获取宴会员工
  static const String get_classify =
      "?service=App.Banquet.GetClassify"; // 获取宴会分类
  static const String set_classify =
      "?service=App.Banquet.SetClassify"; // 添加宴会分类
  static const String del_classify =
      "?service=App.Banquet.DelClassify"; // 删除宴会分类

  static const String get_wine = "?service=App.Banquet.GetWine"; // 获取酒水
  static const String set_wine = "?service=App.Banquet.SetWine"; // 添加酒水
  static const String del_wine = "?service=App.Banquet.DelWine"; // 删除酒水

  static const String get_other = "?service=App.Banquet.GetOther"; // 获取其他配置
  static const String set_other = "?service=App.Banquet.SetOther"; // 添加其他配置
  static const String del_other = "?service=App.Banquet.DelOther"; // 删除其他配置

  static const String get_setmeal =
      "?service=App.Banquet.GetSetmeal"; //  获取宴会套餐
  static const String set_setmeal = "?service=App.Banquet.SetSetmeal"; // 添加宴会套餐
  static const String del_setmeal = "?service=App.Banquet.DelSetmeal"; // 删除宴会套餐

  static const String get_setmeal_by_id =
      "?service=App.Banquet.GetSetmealById"; //  根据ID获取宴会套餐
  static const String get_setmeal_class =
      "?service=App.Banquet.GetSetmealClass"; //  获取宴会套餐菜品分类
  static const String set_setmeal_class =
      "?service=App.Banquet.SetSetmealClass"; //  添加宴会套餐菜品分类
  static const String del_setmeal_class =
      "?service=App.Banquet.DelSetmealClass"; // 删除宴会套餐菜品分类
  static const String get_setmeal_class_by_id =
      "?service=App.Banquet.GetSetmealClassById"; //  根据ID获取宴会套餐菜品分类
  static const String set_setmeal_cook =
      "?service=App.Banquet.SetSetmealCook"; // 添加/修改宴会套餐菜品
  static const String del_setmeal_cook =
      "?service=App.Banquet.DelSetmealCook"; // 删除宴会套餐菜品

  static const String set_banquet_conf =
      "?service=App.Banquet.SetBanquetConf"; //  商家宴会配置

  static const String get_banquet_conf =
      "?service=App.Banquet.GetBanquetConf"; // 获取商家宴会配置

  static const String get_deposit =
      "?service=App.Banquet.GetDeposit"; //  获取宴会定金
  static const String set_deposit =
      "?service=App.Banquet.SetDeposit"; // 添加/修改宴会定金
  static const String del_deposit = "?service=App.Banquet.DelDeposit"; // 删除宴会定金
  static const String create_banquet =
      "?service=App.Banquet.CreateBanquet"; //创建意向
  static const String set_banquet_info =
      "?service=App.Banquet.SetBanquetInfo"; //设置选台信息
  static const String set_banquet_info_cook =
      "?service=App.Banquet.SetBanquetInfoCook"; //调菜
  static const String set_banquet_deposit =
      "?service=App.Banquet.SetBanquetDeposit"; //添加定金
  static const String get_banquet_deposit =
      "?service=App.Banquet.GetBanquetDeposit"; //获取宴会定金
  static const String del_banquet_deposit =
      "?service=App.Banquet.DelBanquetDeposit"; //删除宴会定金
  static const String set_warrant = "?service=App.Banquet.SetWarrant"; //设置担保人
  static const String get_banquet_by_id =
      "?service=App.Banquet.GetBanquetById"; //获取宴会详情
  static const String set_banquet_contract =
      "?service=App.Banquet.SetBanquetContract"; //设置合同信息
  static const String set_invoice =
      "?service=App.Banquet.SetInvoice"; //设置、修改、删除发票
  static const String del_banquet_info =
      "?service=App.Banquet.DelBanquetInfo"; //删除场次
  static const String get_banquet_by_time =
      "?service=App.Banquet.GetBanquetByTime"; //根据时间范围获取宴会订单
  static const String set_banquet_info_price =
      "?service=App.Banquet.SetBanquetInfoPrice"; //设置宴会场次费用
  static const String set_banquet_lost =
      "?service=App.Banquet.SetBanquetLost"; //设置丢单原因
  static const String get_banquet_be_follow =
      "?service=App.Banquet.GetBanquetBeFollow"; //根据时间范围查询待跟进订单

  static const String search_banquet_deposit =
      "?service=App.Banquet.SearchBanquetDeposit"; //根据定金编号搜索定金订单

  static const String bank_banquet_deposit =
      "?service=App.Banquet.BankBanquetDeposit"; //退定金

  static const String get_exits_banquet_by_date =
      "?service=App.Banquet.GetExitsBanquetByDate"; //查看指定时间内是否有宴会预定

  static const String get_banquet_by_date =
      "?service=App.Banquet.GetBanquetByDate"; //指定日期、时段宴会预定
  static const String set_cookbook_by_id =
      "?service=App.Cookbook.SetCookbookById"; //修改菜品

}