Commit 75cb871b by 王志慧

积分管理3.23.2需求开发

1 parent d344e2d0
......@@ -56,7 +56,7 @@ const integralApprove = params => {
returnAll: true
})
}
// 用户积分提现审核/驳回
// 用户积分提现驳回
const integralOut = params => {
params.method = `scrm.api.shopmall.integral.transfer.out.approve`
return http({
......@@ -67,6 +67,28 @@ const integralOut = params => {
returnAll: true
})
}
// 积分提现一键审核
const integralAllOut = params => {
params.method = `scrm.api.shopmall.integral.transfer.out.all.approve`
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 积分提现一键支付
const integralAllpay = params => {
params.method = `scrm.api.shopmall.integral.transfer.out.all.pay`
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 积分提现向管理员发送验证码
const getSms = params => {
params.method = `scrm.api.shopmall.integral.transfer.out.admin.sms`
......@@ -91,7 +113,7 @@ const getMerchantList = params => {
}
// 根据id列表获取提现金额(分)合计
const getAllpayAmount = params => {
const getPayAmount = params => {
params.method = `scrm.api.shopmall.integral.transfer.out.pay.amount`
return http({
url: 'rop-scrm-shopmall/router',
......@@ -120,19 +142,19 @@ const uploadXlsx = params => {
data: params,
sign: true,
noSignAttr: ['file'],
returnAll:true
returnAll: true
})
}
// 根据批次号更新普通提现导入为成功状态
const handleSaveImport =params => {
const handleSaveImport = params => {
params.method = `scrm.api.shopmall.integral.transfer.out.import.confirm`
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true,
returnAll:true
returnAll: true
})
}
/*第三方余额查询 */
......@@ -151,4 +173,12 @@ const getSettleAmount = params => {
data: params
})
}
export default { getList, getAdmin, orderExport, integralpay, integralApprove, integralOut, getSms, getMerchantList, getAllpayAmount, getDetails,uploadXlsx,handleSaveImport,getBalance,getSettleAmount }
const getAllPayAmount = params => {
params.method = 'scrm.api.shopmall.integral.transfer.out.all.pay.amount'
return http({
url: 'rop-scrm-shopmall/router',
data: params
})
}
export default { getPayAmount,getAllPayAmount, integralAllOut, integralAllpay, getList, getAdmin, orderExport, integralpay, integralApprove, integralOut, getSms, getMerchantList, getDetails, uploadXlsx, handleSaveImport, getBalance, getSettleAmount }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!