// 以下是业务服务器API地址 //var WxApiRoot = 'http://127.0.0.1:8081/servant/'; // uat环境使用 var WxApiRoot = 'https://uat.jzmall.lifejingzhi.com/servant/'; // 云平台上线时使用 //var WxApiRoot = 'https://mall.zhaijieshi.cc/servant/'; module.exports = { AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录--并注册 AuthLogout: WxApiRoot + 'auth/logout', //账号登出 AuthRegister: WxApiRoot + 'auth/register', //账号注册 AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号 AuthCaptcha: WxApiRoot + 'auth/regCaptcha',//短信验证码 AuthLoginByCaptcha:WxApiRoot+'auth/loginByCaptcha',//验证码登录 AuthGetShop:WxApiRoot+'auth/shop',//获取当前位置 GoodsList:WxApiRoot+"goods/list",//商品列表 GoodsShare:WxApiRoot+"goods/qrcode",//生成分享二维码 BookDetailList:WxApiRoot+"book/list",//我的工单列表 BookDetailProvice:WxApiRoot+"book/provide",//已提供服务 中间态 BookHmList:WxApiRoot + 'book/bookList', //所有盒马服务工单列表 BookHmTradeInfo:WxApiRoot + 'book/bookTradeInfo', //盒马服务单明细 ServantOpenBill:WxApiRoot+"bill/list",//阿姨开单记录 PreCategory:WxApiRoot+"pre/category",//品类预检 PreSave:WxApiRoot+"pre/save",//品类预检保存 PreList:WxApiRoot+"pre/list",//品类预检结果 PreUpdate:WxApiRoot+"pre/update",//品类预检编辑 StorageUpload: WxApiRoot + 'storage/upload', //图片上传, PreDetail:WxApiRoot+"pre/detail",//品类预检编辑 AuthCaptchaPre: WxApiRoot + 'pre/regCaptchaPre',//短信验证码 品类预检单 diyPreSave:WxApiRoot+"pre/createPreView",//自定义品类预检保存POST /servant/pre/createPreView ProblemProblems:WxApiRoot + 'problem/problems', //获取所有问题 ProblemInfo:WxApiRoot + 'problem/info', //获取问题 ProblemAdd:WxApiRoot + 'problem/create', //创建工单 ProblemList:WxApiRoot + 'problem/list', //所有工单列表 ProblemUrge:WxApiRoot + 'problem/urge', //催办 ProblemAction:WxApiRoot+ 'problem/action', //工单处理明细 ProblemAddRemark:WxApiRoot+ 'problem/addRemark', //追加处理内容 ProblemCancel:WxApiRoot+ 'problem/cancel', //取消报备 ProblemReported:WxApiRoot+ 'problem/reported', //是否已经报备过 ProblemComment:WxApiRoot+ 'problem/comment', //评价工单 Board:WxApiRoot+'board/board',//看板汇总信息 BoardSalary:WxApiRoot+'board/salary',//看板工资信息 SalaryDetail:WxApiRoot+'board/salaryDetail',//总收入的每月明细 ParterCashout:WxApiRoot+'parter/cashout',//提现申请 ParterAuthCheck: WxApiRoot + 'parter/check', //是否实名 ParterAuth: WxApiRoot + 'parter/auth', //是否实名 ParterCashoutList: WxApiRoot + 'parter/cashoutList', //是否实名 HmApiArrived:WxApiRoot+'book/arrivedByMerchant',//我已上门 HmApiConfirm:WxApiRoot+'book/confirmBookTrade',//服务已完成 NewYearReport:WxApiRoot+'newyear/report',//返乡情况汇报 NewYearReported:WxApiRoot+'newyear/reported',//是否已提交过 };