Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
6a9f5cc1
authored
Oct 13, 2024
by
芋道源码
Committed by
Gitee
Oct 13, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!561 【新增功能】添加微信转账到零钱提现功能
Merge pull request !561 from 痴货/jh-wxzz
parents
dcf1ad6b
9ec66081
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/api/pay/app/index.ts
+2
-0
src/views/pay/app/components/AppForm.vue
+8
-2
No files found.
src/api/pay/app/index.ts
View file @
6a9f5cc1
...
@@ -8,6 +8,7 @@ export interface AppVO {
...
@@ -8,6 +8,7 @@ export interface AppVO {
remark
:
string
remark
:
string
payNotifyUrl
:
string
payNotifyUrl
:
string
refundNotifyUrl
:
string
refundNotifyUrl
:
string
transferNotifyUrl
:
string
merchantId
:
number
merchantId
:
number
merchantName
:
string
merchantName
:
string
createTime
:
Date
createTime
:
Date
...
@@ -19,6 +20,7 @@ export interface AppPageReqVO extends PageParam {
...
@@ -19,6 +20,7 @@ export interface AppPageReqVO extends PageParam {
remark
?:
string
remark
?:
string
payNotifyUrl
?:
string
payNotifyUrl
?:
string
refundNotifyUrl
?:
string
refundNotifyUrl
?:
string
transferNotifyUrl
?:
string
merchantName
?:
string
merchantName
?:
string
createTime
?:
Date
[]
createTime
?:
Date
[]
}
}
...
...
src/views/pay/app/components/AppForm.vue
View file @
6a9f5cc1
...
@@ -30,6 +30,9 @@
...
@@ -30,6 +30,9 @@
<el-form-item
label=
"退款结果的回调地址"
prop=
"refundNotifyUrl"
>
<el-form-item
label=
"退款结果的回调地址"
prop=
"refundNotifyUrl"
>
<el-input
v-model=
"formData.refundNotifyUrl"
placeholder=
"请输入退款结果的回调地址"
/>
<el-input
v-model=
"formData.refundNotifyUrl"
placeholder=
"请输入退款结果的回调地址"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"转账结果的回调地址"
prop=
"transferNotifyUrl"
>
<el-input
v-model=
"formData.transferNotifyUrl"
placeholder=
"请输入转账结果的回调地址"
/>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"formData.remark"
placeholder=
"请输入备注"
/>
<el-input
v-model=
"formData.remark"
placeholder=
"请输入备注"
/>
</el-form-item>
</el-form-item>
...
@@ -62,14 +65,16 @@ const formData = ref({
...
@@ -62,14 +65,16 @@ const formData = ref({
status
:
CommonStatusEnum
.
ENABLE
,
status
:
CommonStatusEnum
.
ENABLE
,
remark
:
undefined
,
remark
:
undefined
,
orderNotifyUrl
:
undefined
,
orderNotifyUrl
:
undefined
,
refundNotifyUrl
:
undefined
refundNotifyUrl
:
undefined
,
transferNotifyUrl
:
undefined
})
})
const
formRules
=
reactive
({
const
formRules
=
reactive
({
name
:
[{
required
:
true
,
message
:
'应用名不能为空'
,
trigger
:
'blur'
}],
name
:
[{
required
:
true
,
message
:
'应用名不能为空'
,
trigger
:
'blur'
}],
appKey
:
[{
required
:
true
,
message
:
'应用标识不能为空'
,
trigger
:
'blur'
}],
appKey
:
[{
required
:
true
,
message
:
'应用标识不能为空'
,
trigger
:
'blur'
}],
status
:
[{
required
:
true
,
message
:
'开启状态不能为空'
,
trigger
:
'blur'
}],
status
:
[{
required
:
true
,
message
:
'开启状态不能为空'
,
trigger
:
'blur'
}],
orderNotifyUrl
:
[{
required
:
true
,
message
:
'支付结果的回调地址不能为空'
,
trigger
:
'blur'
}],
orderNotifyUrl
:
[{
required
:
true
,
message
:
'支付结果的回调地址不能为空'
,
trigger
:
'blur'
}],
refundNotifyUrl
:
[{
required
:
true
,
message
:
'退款结果的回调地址不能为空'
,
trigger
:
'blur'
}]
refundNotifyUrl
:
[{
required
:
true
,
message
:
'退款结果的回调地址不能为空'
,
trigger
:
'blur'
}],
transferNotifyUrl
:
[{
required
:
true
,
message
:
'转账结果的回调地址不能为空'
,
trigger
:
'blur'
}]
})
})
const
formRef
=
ref
()
// 表单 Ref
const
formRef
=
ref
()
// 表单 Ref
...
@@ -126,6 +131,7 @@ const resetForm = () => {
...
@@ -126,6 +131,7 @@ const resetForm = () => {
remark
:
undefined
,
remark
:
undefined
,
orderNotifyUrl
:
undefined
,
orderNotifyUrl
:
undefined
,
refundNotifyUrl
:
undefined
,
refundNotifyUrl
:
undefined
,
transferNotifyUrl
:
undefined
,
appKey
:
undefined
appKey
:
undefined
}
}
formRef
.
value
?.
resetFields
()
formRef
.
value
?.
resetFields
()
...
...
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