diff --git a/plugins/Stripe/columns.php b/plugins/Stripe/columns.php index 888f3e06..ef4f9256 100644 --- a/plugins/Stripe/columns.php +++ b/plugins/Stripe/columns.php @@ -15,6 +15,7 @@ return [ 'label' => '公钥', 'type' => 'string', 'required' => true, + 'rules' => 'required|size:32', 'description' => '公钥(Publishable key)', ], [ @@ -22,6 +23,7 @@ return [ 'label' => '密钥', 'type' => 'string', 'required' => true, + 'rules' => 'required|size:32', 'description' => '密钥(Secret key)', ], [