Commit 2c56e5b5 authored by pengyunqian's avatar pengyunqian

feat:提现审核迭代风控与失败原因

parent bc46526a
...@@ -114,6 +114,27 @@ exports.getReblackList = async ctx => { ...@@ -114,6 +114,27 @@ exports.getReblackList = async ctx => {
} }
ctx.body = await req(ctx, opts) ctx.body = await req(ctx, opts)
} }
// 获取钱包账户余额状态
exports.getWalletAccountStatus = async ctx=>{
const url = `${WITHDRAWAL_URI}/wallet/background/get_wallet_account_status`;
const opts = {
url,
method: "GET",
qs: ctx.request.query
}
ctx.body = await req(ctx,opts)
}
// 钱包账户余额状态
exports.resetAccountStatus = async ctx=>{
const url = `${WITHDRAWAL_URI}/wallet/background/reset_wallet_account_status`;
const opts = {
url,
method:"POST",
json:true,
body:ctx.request.body
}
ctx.body = await req(ctx,opts)
}
const getUserPermission = async (ctx) => { const getUserPermission = async (ctx) => {
const url = `${WITHDRAWAL_URI}/merchant/authority/get_role_list`; const url = `${WITHDRAWAL_URI}/merchant/authority/get_role_list`;
......
...@@ -124,5 +124,7 @@ router.get(`${API_VERSION}/get_account_list`, withdrawal.getAccountList) ...@@ -124,5 +124,7 @@ router.get(`${API_VERSION}/get_account_list`, withdrawal.getAccountList)
router.get(`${API_VERSION}/get_record_list`, withdrawal.getRecordList) router.get(`${API_VERSION}/get_record_list`, withdrawal.getRecordList)
router.post(`${API_VERSION}/get_account_black_list`, withdrawal.getAccountBlackList) router.post(`${API_VERSION}/get_account_black_list`, withdrawal.getAccountBlackList)
router.post(`${API_VERSION}/get_reblack_list`, withdrawal.getReblackList) router.post(`${API_VERSION}/get_reblack_list`, withdrawal.getReblackList)
router.get(`${API_VERSION}/get_wallet_account_status`, withdrawal.getWalletAccountStatus)
router.post(`${API_VERSION}/reset_wallet_account_status`, withdrawal.resetAccountStatus)
module.exports = router; module.exports = router;
\ No newline at end of file
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
class="pagination" class="pagination"
layout="prev, pager, next, jumper, ->,page , total" layout="prev, pager, next, jumper, ->,page , total"
v-bind="$attrs" v-bind="$attrs"
v-on="$listener"
> >
</el-pagination> </el-pagination>
</div> </div>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
padding-right: 10px; padding-right: 10px;
} }
.list-right { .list-right {
display:inline-block; // display:inline-block;
width: 70%; width: 70%;
} }
} }
...@@ -108,3 +108,12 @@ ...@@ -108,3 +108,12 @@
width: 20vw; width: 20vw;
margin: 0 auto; margin: 0 auto;
} }
.shell {
float: right;
width: 550px;
margin-top: -20px;
}
.open {
float: right;
margin-bottom: 10px;
}
This diff is collapsed.
...@@ -67,4 +67,14 @@ export async function getAccountBlackList(params) { ...@@ -67,4 +67,14 @@ export async function getAccountBlackList(params) {
export async function getReblackList(params) { export async function getReblackList(params) {
const res = await axios.post("/api/v1/get_reblack_list",params) const res = await axios.post("/api/v1/get_reblack_list",params)
return res; return res;
}
// 获取钱包账户余额状态
export async function getWalletAccountStatus(params) {
const res = await axios.get("/api/v1/get_wallet_account_status",{params})
return res;
}
// 钱包账户余额状态(开启按钮)
export async function resetAccountStatus(params) {
const res = await axios.post("/api/v1/reset_wallet_account_status",params)
return res;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment