// // CYConstManager.m // Lighting // // Created by 曹云霄 on 2016/10/17. // Copyright © 2016年 上海勾芒科技有限公司. All rights reserved. // #import "CYConstManager.h" /*****************************************接口地址*****************************************/ /** * 登陆 */ NSString *const LOGIN = @"/employee/login"; /** * 发送验证码 */ NSString *const SENDSMS = @"/system/sendSms?mobilephone=%@&username=%@"; /** * 重置密码 */ NSString *const RESETPASSWORD = @"/employee/resetPassword"; /** * 新增地址 */ NSString *const ADDADDRESS = @"/shippingAddress/save"; /** * 更改地址 */ NSString *const CHANGEADDRESS = @"/shippingAddress/update"; /** * 删除地址 */ NSString *const REMOVEADDRESS = @"/shippingAddress/remove/"; /** * 场景筛选 */ NSString *const SCENESCREENING = @"/scene/getSceneFilter"; /** * 热门搜索 */ NSString *const HOTSEARCH = @"/hottag/getHotTag"; /** * 场景列表 */ NSString *const SCENELIST = @"/scene/query"; /** * 经营者二维码 */ NSString *const QRCODE = @"/employee/getReseller"; /** * 确认支付 */ NSString *const CONFIRMPAY = @"/order/payOrder"; /** * 获取购物袋商品 */ NSString *const SHOPPINGBAG = @"/shopcart/query"; /** * 删除购物袋 */ NSString *const REMOVESHOPPINGBAG = @"/shopcart/delete"; /** * 更改购物车商品数量、价格 */ NSString *const CHANGESHOPPINGBAGNUMBERPRICE = @"/shopcart/updateCostPrice/"; /** * 添加到购物车 */ NSString *const ADDSHOPPINGBAG = @"/shopcart/save"; /** * 查询购物车数量 */ NSString *const QUERYSHOPPINGBAGNUMBER = @"/shopcart/get/"; /** * 查询所有订单 */ NSString *const QUERYORDER = @"/order/query"; /** * 撤销订单 */ NSString *const RESETORDER = @"/order/updateOrderState/"; /** * 分享商品 */ NSString *const SHARE = @"/system/shareGoods"; /** * 分享订单 */ NSString *const SHAREORDERBILL = @"/order/OrderShare"; /** * 产品筛选 */ NSString *const PRODUCTSCREENING = @"/goods/getGoodsFilter"; /** * 产品列表 */ NSString *const PRODUCTLIST = @"/goods/query"; /** * 条形码搜索 */ NSString *const BARCODESEARCH = @"/goods/getGoodsByCode/"; /** * 获取导购关联客户 */ NSString *const GETSHOPPERSCONSUMER = @"/consumer/query"; /** * 修改密码 */ NSString *const MODIFYPASSWORD = @"/employee/modifyPassword"; /** * 订单详情 */ NSString *const ORDERDETAILS = @"/order/findOrder/"; /** * PDF路径 */ NSString *const DOWNLOADPDF = @"/order/urlOfprintPDF/"; /** * 收货地址 */ NSString *const SHIPPINGADDRESS = @"/shippingAddress/listAddress/"; /** * 生成订单 */ NSString *const CREATEORDER = @"/order/save"; /** * 商品详情 */ NSString *const GOODSDETAILS = @"/goods/getGoods/"; /** * 导购返利 */ NSString *const SHOPPERSCOMMISSION = @"/employee/getCommission?id="; /** * 上传文件 */ NSString *const UPLOADHEADER = @"/system/upload"; /** * 修改导购个人信息 */ NSString *const MODITYSHOPPERSINFORMATION = @"/employee/updateEmployee"; /** * 注销登录 */ NSString *const CANCELLOGIN = @"/employee/logout"; /** * 新增客户 */ NSString *const ADDCONSUMER = @"/consumer/save"; /** * 写入访问时间 */ NSString *const SAVEVISITEDTIME = @"/consumer/saveLastVisitedTime?consumerId="; /** * 获取版本升级信息 */ NSString *const VERSION = @"/employee/getUpgrade?"; /** * 查询返利信息 */ NSString *const REBATE = @"/applybill/getTotal"; //** 提现 */ NSString *const WITHDRAWAL = @"/applybill/save"; /** * 收支明细 */ NSString *const PAYMENTS = @"/applybill/queryCommission"; /** * 提现进度 */ NSString *const WITHDRAWALPROGRESS = @"/applybill/queryApplyBill"; /** * 提现进度详情 */ NSString *const WITHDRAWALPROGRESSDETAILS = @"/applybill/getDetailState"; /** * 查询实时促销信息 */ NSString *const PROMOTIONAL = @"/promotion/calc/%@"; /** * 查询历史促销信息 */ NSString *const OLDPROMOTIONAL = @"/orderpromotion/get/%@"; /** * 查询我的卡劵信息 */ NSString *const CARDINFORMATION = @"/jingdongecard/query"; /** * 发放JDEka */ NSString *const JDECARD = @"/jingdongecard/dispense?denomation=%ld&guideId=%@&orderNumber=%@"; /** * 激活京东E卡 */ NSString *const ACTIVIATIONJDECARD = @"/jingdongecard/active?orderNumber=%@&orderReceiptUrl=%@"; /** * 领取京东E卡 */ NSString *const RECEIVEJDECARD = @"/jingdongecard/use?cardNumber=%@"; /** * 查询所有京东E卡 */ NSString *const QUERYALLJDECARD = @"/jingdongecard/simpleQuery"; /** * 使用京东E卡 */ NSString *const USEJDECARD = @"/jingdongecard/use?cardNumber=%@"; /** * 抽奖 */ NSString *const DRAW = @"/tOLotteryController.do?lotteryAward&lotteryId=%@&drawId=%@&orderNumber=%@"; /** * 拼接订单详情URL(打印/预览) */ NSString *const ORDERDETAILSURL = @"/tOOrderController.do?htmlOfPdf&reseller_id=%@&order_number=%@"; /** * 抽奖结果查询 */ NSString *const LOTTERYED = @"/lottery/query"; /*****************************************接口地址*****************************************/ /** * 通知已上传小票 */ NSString *const UPLOAD_COMPLETE = @"UploadToComplete"; /** * 通知已查看京东卡密码 */ NSString *const VIEWPASSWORD = @"viewPassword"; /** * 京东卡状态<发放> */ NSString *const DISPENSED = @"dispensed"; /** * 京东卡状态<激活> */ NSString *const ACTIVED = @"actived"; /** * 京东卡状态<查看> */ NSString *const USED = @"used"; /** * 更新购物车商品 */ NSString *const SHOPPINGCARGOODS = @"shoppingCar"; /** * 通知打开响应的控制器 */ NSString *const OPENCONTROLLER = @"openController"; /** * 打开体验中心 */ NSString *const OPENFOLLOWHEARTVC = @"FollowHeartVC"; /** * 微信卡劵 */ NSString *const WXCardAction = @"WXCardAction"; /** * 京东E卡 */ NSString *const JDECardAction = @"jdECardAction"; /** * 导购 */ NSString *const GUIDE = @"guide"; /** * 消费者 */ NSString *const CONSUMER = @"consumer"; /** * 折扣金额 */ NSString *const deductionAction = @"deductionAction"; /** * 赠送商品 */ NSString *const goodsAction = @"goodsAction"; /** * 转盘抽奖 */ NSString *const lotteryAction = @"lotteryAction"; /** * 未付款 */ NSString *const NOTPAY = @"001"; /** * 已付款 */ NSString *const PAYSUCCESS = @"002"; /** * 已发货 */ NSString *const SHIPPED = @"003"; /** * 已退货 */ NSString *const RETURN = @"004"; /** * 已作废 */ NSString *const CANCEL = @"005"; /** * 已完成 */ NSString *const COMPLETED = @"006"; /** * 已抽奖未使用 */ NSString *const ACCOMPLISHED = @"accomplished"; /** 未抽奖 */ NSString *const INITIAL = @"initial"; /** * 刷新购物车 */ NSString *const REFRESHSHOPPINGCAR = @"GOODSNUMBER"; /** * 增加购物车 */ NSString *const ADDSHOPPINGCAR = @"ADDGOODS"; /** * 更改用户名 */ NSString *const CHANGECUSTOMERNAME = @"CHANGECUSTOMERNAME"; /** * 更改导购名 */ NSString *const CHANGESHOPPERSNAME = @"CHANGESHOPPERSNAME"; /** * 提示抽奖信息 */ NSString *const PROMPTDRAWINFORMATION = @"PROMPTDRAWINFORMATION";