/* * @Author: 小明丶 * @Date: 2019-08-30 10:46:07 * @LastEditors: 小明丶 * @LastEditTime: 2020-12-03 17:18:42 * @Description: */ import $http from './config'; export default { //创建订单 facepay_create(data) { return $http.post('/dmfOrder/create', data); }, //查询订单支付状态 facepay_getStatus(data) { data.hiddenLoading = true; return $http.post('/dmfOrder/findOrderSts', data); }, //订单列表 facepay_orderList(data) { return $http.post('/dmfOrder/orderList', data); }, //订单 退款 facepay_refund(data) { return $http.post('/dmfOrder/refund', data); }, //订单详情 facepay_orderDetails(orderId) { return $http.post('/dmfOrder/orderDetails', {orderId}); }, //订单列表导出 facepayOrderExport(data) { return $http.post('/dmfOrder/export', data); }, // return $http.post('/wechat/getSign', data); prodList(data) { return $http.post('/prod/typeList', data); }, //新商户产品管理接口 prodManagerInit(data){ return $http.post('/prod/managerInit',data) }, // 新商户数据页面获取列表接口 prodListTitle(data){ return $http.post('/prod/listTitle',data) }, // 新门店主页获取业务数据 prodIndexTypeList(data){ return $http.post('/prod/indexTypeList',data) }, // 花呗业务产品页面获取产品列表 prodHbProd(data){ return $http.post('/prod/hbProd',data) }, storeProdList(data) { return $http.post('/prod/storeTypeList', data); }, walletUrl(data){ return $http.post('/prod/walletUrl', data); }, hbLinesSMS(data){ return $http.post('/order/hbLinesSMS', data); }, findTerms(data){ return $http.post('/prod/findTerms', data); }, calAmt(data){ return $http.post('/prod/calAmt', data); }, hbOrderInit(data) { return $http.post('/hbOrder/init', data); }, shtxOrderInit(data){ return $http.post('/shtxOrder/init',data) }, shtxOrderCreate(data){ return $http.post('/shtxOrder/create',data) }, getMonthMoney(data){ return $http.post('/shtxOrder/trial',data) }, calcMonthMoney(data){ return $http.post('/hbOrder/trial', data); }, hbOrderCreate(data) { return $http.post('/hbOrder/create', data); }, hbhyjCreate(data) { return $http.post('/hbOrder/createMbl', data); }, contractList(data) { return $http.post('/contract/list', data); }, hbOrderFindOrderSts(data){ return $http.post('/hbOrder/findOrderSts', data); }, shtxOrderFindOrderSts(data){ return $http.post('/shtxOrder/findOrderSts', data); }, getShtxDetail(data){ return $http.post('/shtxOrder/refund',data) }, /** * 手机分期相关 */ //订单创建 ljOrderCreate(data) { return $http.post('/ljOrder/create', data); }, //订单创建初始化 ljOrderCreateInit(data) { return $http.post('/ljOrder/createInit', data); }, //订单列表导出 ljOrderExport(data) { return $http.post('/ljOrder/export', data); }, //订单列表 ljOrderList(data) { return $http.post('/ljOrder/list', data); }, //订单详情 ljOrderOrderDtl(data) { return $http.post('/ljOrder/orderDtl', data); }, //订单创建试算 ljOrderTrial(data) { return $http.post('/ljOrder/trial', data); }, saveProtocol(data){ return $http.post('/gjzjOrder/uploadProtocol', data); }, uploadFile(data){ return $http.post('/order/uploadFile', data); }, prodRefInit(data) { return $http.post('/prod/refInit', data); }, prodSaveRef(data) { return $http.post('/prod/saveRef', data); }, h_contractList(data) { return $http.post('/contract/list', data); }, // 检查授权 checkAuth (data) { return $http.post('/hbOpen/checkAuth', data); }, // 花呗开户初始化 hbOpenInit (data) { return $http.post('/hbOpen/init', data); }, // 商户详情 merPayInfo(data) { return $http.post('/merchant/merPayInfo', data); }, // xyg花呗开户初始化 xygHbOpenInit (data) { return $http.post('/hbOpen/xygInit', data); }, // xyg花呗检查授权 xygCheckAuth(data){ return $http.post('/hbOpen/xygCheckAuth',data) }, // xyg花呗开通 hbOpenXygOpen(data){ return $http.post('/hbOpen/xygOpen',data) }, //照片上传 merUploadPhoto(data) { return $http.post('/user/uploadPhoto', data); }, // 信用购开通上传图片 uploadXygPhoto(data){ return $http.post('/user/uploadXygPhoto', data); }, //照片上传 merUploadPhotoStore(data) { return $http.post('/public/uploadFile', data); }, heydInitOpen(data) { return $http.post('/heydOpen/init', data); }, // 开通 heydOpen(data) { return $http.post('/heydOpen/open', data); }, // 开通 heydInitStore(data) { return $http.post('/heydOpen/initStore', data); }, // 开通 heydInitMgr(data) { return $http.post('/heydOpen/initMgr', data); }, // 营业员开通 heydOpenMgr(data) { return $http.post('/heydOpen/openMgr', data); }, // 门店开通 heydOpenStore(data) { return $http.post('/heydOpen/openStore', data); }, getMerInfo(merId){ return $http.post('/heydOpen/merInfo', {merId}); }, h_uploadProtocol(data) { return $http.post('/heydOrder/uploadProtocol', data); }, h_getFileType(data={}){ return $http.post('/heydOrder/getFileType', data); }, //退货 h_refund(data) { return $http.post('/heydOrder/refund', data); }, //海尔云贷经纬度保存 gpsAddr(data){ return $http.post('/heydOpen/updateMgrDeviceInfo',data); }, gjzjOpenInit (data) { return $http.post('/gjzjOpen/init', data); }, // 商户开通 gjzjOpen (data) { return $http.post('/gjzjOpen/open', data); }, // 商户开通 hbOpenOpen (data) { return $http.post('/hbOpen/open', data); }, // 商户重新开通 hbOpenReOpen (data) { return $http.post('/hbOpen/reOpen', data); }, // 查询商户开通状态 findOpenSts (data) { return $http.post('/hbOpen/findOpenSts', data); }, getJson() { return $http.get('/scene/json/childChanList.json'); }, getShsUrl() { return $http.post('/shsOrder/getUrl'); }, //门店优化 indexInit(data){ return $http.post('/index/init',data); }, indexDetail(data){ return $http.post('/index/bannerDetail',data); }, //消息 noticeDetail(data){ return $http.post('/notice/detail',data); }, noticeList(data){ return $http.post('/notice/list',data); }, //商户 merchantDetail(data){ return $http.post('/merchant/merDetail',data); }, merchantEdit(data){ return $http.post('/merchant/merEdit',data); }, //逾期用户列表 overdueList(data){ return $http.post('/overdue/oveList',data); }, //逾期详情 overdueDetail(data){ return $http.post('/overdue/oveDetail',data); }, //逾期用户数 overdueNum(data){ return $http.post('/overdue/oveNum',data); }, //保存跟进记录 overdueSaveOveFol(data){ return $http.post('/overdue/saveOveFol',data); }, // 支付宝拉新 zfbLxSave(data){ return $http.post('/zfb/lx/save',data); }, //支付宝拉新查询列表 zfbLxList(data){ return $http.post('/zfb/lx/list',data); }, //支付宝拉新列表初始化 zfbLxInit(data){ return $http.post('/zfb/lx/init',data); }, //支付宝拉新查询 zfbLxReport(data){ return $http.post('/zfb/lx/report',data); }, //支付宝周数据统计 zfbLxWeekReport(data){ return $http.post('/zfb/lx/weekReport',data); }, //支付宝数据导出 zfbLxExport(data){ return $http.post('/zfb/lx/export',data); }, // 信用购接口开始 xygInitOpen(data) { return $http.post('/xygOpen/init', data); }, // 信用购开通 xygOpen(data) { return $http.post('/xygOpen/open', data); }, // 信用购开通 xygInitStore(data) { return $http.post('/xygOpen/initStore', data); }, // 信用购开通 xygInitMgr(data) { return $http.post('/xygOpen/initMgr', data); }, // 信用购营业员开通 xygOpenMgr(data) { return $http.post('/xygOpen/openMgr', data); }, // 信用购门店开通 xygOpenStore(data) { return $http.post('/xygOpen/openStore', data); }, getXygMerInfo(merId){ return $http.post('/xygOpen/merInfo', {merId}); }, getunhandingList(data){ return $http.post('xygOrder/unhandingList',data) }, getGoodsTypeList(data){ return $http.post('xygOrder/createInit',data) }, h_uploadXygProtocol(data) { return $http.post('/xygOrder/uploadProtocol', data); }, h_getXygFileType(data={}){ return $http.post('/xygOrder/getFileType', data); }, //信用购退货 h_xygRefund(data) { return $http.post('/xygOrder/refund', data); }, //信用购经纬度保存 gpsXygAddr(data){ return $http.post('/xygOpen/updateMgrDeviceInfo',data); }, // 信用购接口结束 //开通花呗省市区数据获取 getAliAreaList(data){ return $http.post('/public/aliAreaList',data); }, // 获取通道 prodZfbVersion(data){ return $http.post('/prod/zfbVersion',data); }, // 信用购花呗开通结果 findXygOpenSts(data){ return $http.post('/hbOpen/findXygOpenSts',data) }, // xyg花呗开通详情获取 merXygPayInfo(data){ return $http.post('/merchant/merXygPayInfo',data) }, // 门店管理分页 storeStoreList(data){ return $http.post('/store/storeList',data) }, // 微信分创建 wxScoreCreate(data){ return $http.post('/cmccWxpay/create',data) }, // 微信分订单详情 wxScoreDetail(data){ return $http.post('/cmccWxpay/detail',data) }, // 微信分初始化 wxScoreInit(data){ return $http.post('/cmccWxpay/init',data) }, // 微信分订单列表 wxScoreList(data){ return $http.post('/cmccWxpay/list',data) }, // 微信分套餐列表 wxScoreContList(data){ return $http.post('/cmccWxpay/contList',data) }, // 微信分返销 wxScoreRefund(data){ return $http.post('/cmccWxpay/refund',data) }, // 微信分返销 wxScoreSendOrder(data){ return $http.post('/cmccWxpay/pushOrderStatus',data) }, // 微信分手机号验证 wxScoreVertify(data){ return $http.post('/cmccWxpay/verifyMblNo',data) }, // 微信分手机号验证 wxScoreOrderStatus(data){ return $http.post('/cmccWxpay/orderStatus',data) }, wxScoreExport(data){ return $http.post('/cmccWxpay/export', data); }, //公众租机接口开始 gzzjInitOpen(data) { return $http.post('/gzzjOpen/init', data); }, // 开通 gzzjOpen(data) { return $http.post('/gzzjOpen/open', data); }, // 开通 gzzjInitStore(data) { return $http.post('/gzzjOpen/initStore', data); }, // 开通 gzzjInitMgr(data) { return $http.post('/gzzjOpen/initMgr', data); }, // 营业员开通 gzzjOpenMgr(data) { return $http.post('/gzzjOpen/openMgr', data); }, // 门店开通 gzzjOpenStore(data) { return $http.post('/gzzjOpen/openStore', data); }, getGzzjMerInfo(merId){ return $http.post('/gzzjOpen/merInfo', {merId}); }, gzzjOrderInit(data) { return $http.post('/gzzjOrder/init', data); }, gzzjOrderPrecreate(data) { return $http.post('/gzzjOrder/preCreate', data); }, gzzj_h_uploadProtocol(data) { return $http.post('/gzzjOrder/uploadProtocol', data); }, gzzj_h_getFileType(data={}){ return $http.post('/gzzjOrder/getFileType', data); }, //退货 gzzj_h_refund(data) { return $http.post('/gzzjOrder/refund', data); }, //公众租机接口结束 }