落地合伙股东收益体系,并纳入 sheep 用户端源码。

Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
chen
2026-09-17 07:47:35 +08:00
父节点 7747dfaa82
当前提交 251d62296e
共有 595 个文件被更改,包括 90234 次插入 和 105 次删除

64
uniapp/sheep/api/pay.js 普通文件
查看文件

@@ -0,0 +1,64 @@
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,
},
}),
cancel: (data) =>
request({
url: 'withdraw/cancel',
method: 'POST',
data,
custom: {
loadingMsg: '取消中',
auth: true,
},
}),
retry: (data) =>
request({
url: 'withdraw/retry',
method: 'POST',
data,
custom: {
loadingMsg: '提现中',
auth: true,
},
}),
},
};