From 72a385efbbced5aa81e6c73f6f8e6a57a9e22302 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Tue, 7 Feb 2023 13:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dstripe=E5=AF=86=E9=92=A5?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/Stripe/columns.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Stripe/columns.php b/plugins/Stripe/columns.php index 27a552dd..373a44af 100644 --- a/plugins/Stripe/columns.php +++ b/plugins/Stripe/columns.php @@ -15,7 +15,7 @@ return [ 'label_key' => 'common.publishable_key', 'type' => 'string', 'required' => true, - 'rules' => 'required|size:32', + 'rules' => 'required|min:32', 'description' => '公钥(Publishable key)', ], [ @@ -23,7 +23,7 @@ return [ 'label' => '密钥', 'type' => 'string', 'required' => true, - 'rules' => 'required|size:32', + 'rules' => 'required|min:32', 'description' => '密钥(Secret key)', ], [