From 9ec660817cc9bf469bde8eed6c5e0ae12da3743e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=97=B4=E8=B4=A7?= <252048765@qq.com> Date: Fri, 4 Oct 2024 10:22:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=A2=9E=E5=8A=A0=E8=BD=AC=E8=B4=A6=E5=9B=9E=E8=B0=83?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pay/app/index.ts | 2 ++ src/views/pay/app/components/AppForm.vue | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/api/pay/app/index.ts b/src/api/pay/app/index.ts index b1a2d0dd..d6fa83cf 100644 --- a/src/api/pay/app/index.ts +++ b/src/api/pay/app/index.ts @@ -8,6 +8,7 @@ export interface AppVO { remark: string payNotifyUrl: string refundNotifyUrl: string + transferNotifyUrl: string merchantId: number merchantName: string createTime: Date @@ -19,6 +20,7 @@ export interface AppPageReqVO extends PageParam { remark?: string payNotifyUrl?: string refundNotifyUrl?: string + transferNotifyUrl?: string merchantName?: string createTime?: Date[] } diff --git a/src/views/pay/app/components/AppForm.vue b/src/views/pay/app/components/AppForm.vue index 11480de0..0d42f998 100644 --- a/src/views/pay/app/components/AppForm.vue +++ b/src/views/pay/app/components/AppForm.vue @@ -30,6 +30,9 @@ + + + @@ -62,14 +65,16 @@ const formData = ref({ status: CommonStatusEnum.ENABLE, remark: undefined, orderNotifyUrl: undefined, - refundNotifyUrl: undefined + refundNotifyUrl: undefined, + transferNotifyUrl: undefined }) const formRules = reactive({ name: [{ required: true, message: '应用名不能为空', trigger: 'blur' }], appKey: [{ required: true, message: '应用标识不能为空', trigger: 'blur' }], status: [{ 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 @@ -126,6 +131,7 @@ const resetForm = () => { remark: undefined, orderNotifyUrl: undefined, refundNotifyUrl: undefined, + transferNotifyUrl: undefined, appKey: undefined } formRef.value?.resetFields()