You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
785 B
44 lines
785 B
import request from '@/sheep/request';
|
|
|
|
export default {
|
|
// 预支付
|
|
prepay: (data) =>
|
|
request({
|
|
url: 'pay/prepay',
|
|
method: 'POST',
|
|
data,
|
|
custom: {
|
|
loadingMsg: '支付中',
|
|
},
|
|
}),
|
|
// 发起提现
|
|
withdraw: {
|
|
list: (params) =>
|
|
request({
|
|
url: 'withdraw',
|
|
method: 'GET',
|
|
params,
|
|
custom: {
|
|
auth: true,
|
|
},
|
|
}),
|
|
rules: () =>
|
|
request({
|
|
url: 'withdraw/rules',
|
|
method: 'GET',
|
|
custom: {
|
|
auth: true,
|
|
},
|
|
}),
|
|
apply: (data) =>
|
|
request({
|
|
url: 'withdraw/apply',
|
|
method: 'POST',
|
|
data,
|
|
custom: {
|
|
loadingMsg: '申请中',
|
|
auth: true,
|
|
},
|
|
}),
|
|
},
|
|
};
|
|
|