diff --git a/src/views/payment/system/platform/PayPlatformConfig.api.ts b/src/views/payment/system/platform/PayPlatformConfig.api.ts index 1228a9d75..c2504b8e0 100644 --- a/src/views/payment/system/platform/PayPlatformConfig.api.ts +++ b/src/views/payment/system/platform/PayPlatformConfig.api.ts @@ -29,6 +29,8 @@ export interface PayPlatformConfig extends BaseEntity { websiteUrl?: string // 开启签名验证 reqSign?: boolean + // 请求过期时长(秒) + reqTimeout?: number // 签名方式 signType?: string // 签名秘钥 diff --git a/src/views/payment/system/platform/PayPlatformConfig.vue b/src/views/payment/system/platform/PayPlatformConfig.vue index eef0c4fc7..190a3a083 100644 --- a/src/views/payment/system/platform/PayPlatformConfig.vue +++ b/src/views/payment/system/platform/PayPlatformConfig.vue @@ -54,16 +54,16 @@ - - + + - - + + + + + + + + @@ -109,6 +125,7 @@ signType: [{ required: form.reqSign, message: '请选择签名类型' }], signSecret: [{ required: form.reqSign, message: '请输入签名密钥' }], orderTimeout: [{ required: true, message: '请输入订单默认超时时间(分钟)' }], + reqTimeout: [{ required: true, message: '请输入请求有效时长(秒)' }], } as Record })