withdrawal.js
1.75 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
import api from '../request/http'
module.exports = {
/**积分汇总查询 */
searchScoreSummary(data) {
return api.fetch(
'scrm.api.shopmall.score.summary.search',
data,
);
},
/**积分明细列表查询 */
getScoreProfitList(data) {
return api.fetch(
'scrm.api.shopmall.score.profit.list',
data
)
},
/**积分明细查询 */
getScoreDetail(data) {
return api.fetch(
'scrm.api.shopmall.score.detail.get',
data
)
},
/**提现列表查询 */
getScoreWithdrawalPage(data) {
return api.fetch(
'scrm.api.shopmall.score.withdrawal.page',
data
)
},
/** 免责协议地址获取*/
getAgreementUrl(data) {
return api.fetch(
'scrm.api.shopmall.score.withdrawal.disclaimer.agreement.get',
data
)
},
/** 积分提现*/
saveWithdrawal(data) {
return api.fetch('scrm.api.shopmall.score.withdrawal.save', data)
},
/**查询税率 */
getTaxRate(data) {
return api.fetch('scrm.api.shopmall.score.get.taxRate', data)
},
/**根据手机号查询员工银行卡列表 */
getStaffBankList(data) {
return api.fetch(
'scrm.api.shopmall.score.bank.list',
data,
);
},
/** 插入或更新员工银行卡信息 */
insetorupdateStaffBank(data) {
return api.fetch('scrm.api.shopmall.score.bank.insertOrUpdate',
data);
},
/**根据id查询银行卡详情 */
getBankDetail(data) {
return api.fetch('scrm.api.shopmall.score.bank.get.detail', data)
},
/**查询上传证件配置信息 */
getConfig(data){
return api.fetch('scrm.api.shopmall.score.bank.get.document.config',data)
},
/**开通积分钱包 */
openPointsWallet(data){
return api.fetch('scrm.api.shopmall.pointswallet.open',data)
}
}