publicAccount.js
3.27 KB
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
import request from "./request"
const djPath = "dj.api."
const djPath2 = "dj.api.smartcarlife."
const path = "dj.api.serviceMerchant."
// 分页查询服务门店
export function getListApi(data) {
data.method = `${path}listWithPage`
return request(data, "post")
}
// 注册线下商户
export function registerYseMerchantApi(data) {
data.method = `${djPath}yseMerchantOffline.register`
return request(data, "post")
}
// 注册线下商户_新版 registerYseMerchantApiNew
export function registerYseMerchantApiNew(data) {
data.method = `${djPath}yseMerchantOffline.registerNew`
return request(data, "post")
}
// 注册线下商户-存草稿
export function draftYseMerchantApi(data) {
data.method = `${djPath}yseMerchantOffline.saveDrafts`
return request(data, "post")
}
// 注册线下商户-存草稿_新版
export function draftYseMerchantApiNew(data) {
data.method = `${djPath}yseMerchantOffline.saveDraftsNew`
return request(data, "post")
}
// 获取商户虚拟对公账户详情
export function getDetailApi(data) {
data.method = `${djPath}yseMerchantOffline.getDetail`
return request(data, "post")
}
// 渠道级联dj.api.smartcarlife.get.merchant.level
export function getMerchantLevelApi(data) {
data.method = `${djPath}smartcarlife.get.merchant.level`
return request(data, "post")
}
// 分页搜索服务门店
export function getMerchantPageSearch(data) {
data.method = `${path}page.search`
return request(data, "post")
}
// 下载账户合同
export function downloadContract(data) {
data.method = `${path}yseMerchantOffline.downSign`
return request(data, "post")
}
// 获取省市区信息
export function getAreaInfoApi(data) {
data.method = `${djPath}yseMerchantOffline.getAreaInfo`
return request(data, "post")
}
// 根据开户支行编号查询区域信息
export function getAreaInfoByOpenAccBankTypeApi(data) {
data.method = `${djPath}yseMerchantOffline.getAreaInfoByOpenAccBankType`
return request(data, "post")
}
// 分账规则历史记录
export function getHistoryRecord(data) {
data.method = `${djPath}smartcarlife.divisionRuleEffectRecord.getHistoryRecord`
return request(data, "post")
}
// 虚拟对公账户-同步操作
export function synchronizeBusinessInformation(data) {
data.method = `${path}synchronizeBusinessInformation`
return request(data, "post")
}
// 分页查询银盛虚账列表
export function yseMerchantPage(data) {
data.method = `${djPath2}yseMerchant.page`
return request(data, "post")
}
// 修改虚账商户关联
export function yseMerchantModifyMerchantRef(data) {
data.method = `${djPath2}yseMerchant.modifyMerchantRef`
return request(data, "post")
}
// 虚账管理-操作记录
export function yseMerchantListHistory(data) {
data.method = `${djPath2}yseMerchantRefBatchEffect.listHistory`
return request(data, "post")
}
// 银盛虚账列表-详情
export function yseMerchantGetDetail(data) {
data.method = `dj.api.yseMerchantOffline.getDetail`
return request(data, "post")
}
// 银盛虚账可选商户列表
export function listWithPageAccountStatuses(data) {
data.method = `dj.api.serviceMerchant.listWithPage`
return request(data, "post")
}
// 修改到账模式
export function updateAccountMode(data) {
data.method = `${djPath}yseMerchant.updateReceiptMode`
return request(data, "post")
}