Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
op-web-service
Commits
2c56e5b5
Commit
2c56e5b5
authored
Aug 23, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:提现审核迭代风控与失败原因
parent
bc46526a
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
186 additions
and
29 deletions
+186
-29
withdrawal.js
server/controllers/withdrawal.js
+21
-0
router.js
server/router.js
+2
-0
index.vue
src/pages/Groupmeal/components/Pagination/index.vue
+0
-1
index.less
src/pages/Withdrawal/Examine/index.less
+10
-1
index.vue
src/pages/Withdrawal/Examine/index.vue
+143
-27
withdrawal.js
src/service/Withdrawal/withdrawal.js
+10
-0
No files found.
server/controllers/withdrawal.js
View file @
2c56e5b5
...
...
@@ -114,6 +114,27 @@ exports.getReblackList = async ctx => {
}
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
url
=
`
${
WITHDRAWAL_URI
}
/merchant/authority/get_role_list`
;
...
...
server/router.js
View file @
2c56e5b5
...
...
@@ -124,5 +124,7 @@ router.get(`${API_VERSION}/get_account_list`, withdrawal.getAccountList)
router
.
get
(
`
${
API_VERSION
}
/get_record_list`
,
withdrawal
.
getRecordList
)
router
.
post
(
`
${
API_VERSION
}
/get_account_black_list`
,
withdrawal
.
getAccountBlackList
)
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
;
\ No newline at end of file
src/pages/Groupmeal/components/Pagination/index.vue
View file @
2c56e5b5
...
...
@@ -5,7 +5,6 @@
class=
"pagination"
layout=
"prev, pager, next, jumper, ->,page , total"
v-bind=
"$attrs"
v-on=
"$listener"
>
</el-pagination>
</div>
...
...
src/pages/Withdrawal/Examine/index.less
View file @
2c56e5b5
...
...
@@ -52,7 +52,7 @@
padding-right: 10px;
}
.list-right {
display:inline-block;
//
display:inline-block;
width: 70%;
}
}
...
...
@@ -108,3 +108,12 @@
width: 20vw;
margin: 0 auto;
}
.shell {
float: right;
width: 550px;
margin-top: -20px;
}
.open {
float: right;
margin-bottom: 10px;
}
src/pages/Withdrawal/Examine/index.vue
View file @
2c56e5b5
This diff is collapsed.
Click to expand it.
src/service/Withdrawal/withdrawal.js
View file @
2c56e5b5
...
...
@@ -68,3 +68,13 @@ export async function getReblackList(params) {
const
res
=
await
axios
.
post
(
"/api/v1/get_reblack_list"
,
params
)
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment