// 以下是业务服务器API地址 // var WxApiRoot = 'http://127.0.0.1:19110/jzworkerapiservice/wxservant/'; // uat环境使用 var WxApiRoot = 'https://uat.servant.lifejingzhi.com/jzworkerapiservice/wxservant/'; // 云平台上线时使用 // var WxApiRoot = 'https://servant.lifejingzhi.com/jzworkerapiservice/wxservant/'; module.exports = { AuthRegister: WxApiRoot + 'auth/login', //账号注册 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/addFile', //图片上传, 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',//服务已完成 HmPyamentOrderDetail:WxApiRoot+'hmPayment/detail',//盒马订单明细 HmPyamentOrderAddMemo:WxApiRoot+'hmPayment/addMemo',//盒马订单--添加备注 NewYearReport:WxApiRoot+'report',//返乡情况汇报 NewYearReported:WxApiRoot+'reported',//是否已提交过 // NucleicOCR:WxApiRoot+'nucleic/ocrImage',//截图识别 NucleicOCR:WxApiRoot+'ocrImage', // NucleicList:WxApiRoot+'nucleic/list',//截图列表 NucleicList:WxApiRoot+'getCalendar',//截图列表 TicketList:WxApiRoot+'ticket/list',//crm工单列表 TicketAction:WxApiRoot+ 'ticket/action', //工单处理明细 TicketCompleted:WxApiRoot+ 'ticket/completed', //工单完结 TicketHandle:WxApiRoot+ 'ticket/handle', //工单处理 // ServantPerfectOCR:WxApiRoot+ 'perfect/ocr', //临时项目 服务者入职前的信息完善:身份证识别 ServantPerfectOCR:WxApiRoot+ 'ocrIdCard', // ServantPerfect:WxApiRoot+ 'perfect/perfect', //完善信息保存 ServantPerfect:WxApiRoot+ 'perfectWorkerInfo', ServantValid:WxApiRoot+ 'getWorkerInfoByPhone', //信息验证 myRebuyInfo:WxApiRoot+ 'myRebuyInfo', //我的复购看板 monthCalender:WxApiRoot+ 'monthCalender', //每月日历 dayCalender:WxApiRoot+ 'dayCalender', //每月日历 computerWorkerSchedule:WxApiRoot+ 'computerWorkerSchedule', //档期预估 crmTicket:WxApiRoot+ 'crmTicket',//问题工单 arrivedByMerchant:WxApiRoot+ 'arrivedByMerchant',//我已上门 confirmBookTrade:WxApiRoot+ 'confirmBookTrade',//服务完成 getNotice:WxApiRoot+ 'notice/getNotice', readNotice:WxApiRoot+ 'notice/readNotice', homeInfo:WxApiRoot+ 'board/home', inputSelf:WxApiRoot+ 'inputSelf' };