liangjin
2021-04-09 ebc11188a97946a82d2edd5c16df1e8f2f963945
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
/*
 * @Author: 小明丶
 * @Date: 2019-08-30 10:46:07
 * @LastEditors: 小明丶
 * @LastEditTime: 2020-12-03 17:18:42
 * @Description:
 */
import $http from './config';
 
export default {
    //创建订单
 
    //订单列表导出
    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);
    },
 
 
    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);
    },
 
 
    // 商户详情
    merPayInfo(data) {
        return $http.post('/merchant/merPayInfo', 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);
    },
 
 
    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);
    },
    // 查询商户开通状态
    findOpenSts (data) {
        return $http.post('/hbOpen/findOpenSts', data);
    },
    getJson() {
        return $http.get('/scene/json/childChanList.json');
    },
 
    //门店优化
    indexInit(data){
        return $http.post('/index/init',data);
    },
    indexDetail(data){
        return $http.post('/index/bannerDetail',data);
    },
    //商户
    merchantDetail(data){
        return $http.post('/merchant/merDetail',data);
    },
    merchantEdit(data){
        return $http.post('/merchant/merEdit',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);
    },
    wxScoreCreInit(data){
        return $http.post('/cmccWxpay/creInit', data);
    },
}