liangjin
2021-03-30 6644b5af8235790eb5fd4c4265ce99aa90b134f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
/*
 * @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);
    },
    //公众租机接口结束
}