From 2eaf2f1e695bd8b09bb9eb722e5d3cfb9ec0486d Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Thu, 30 Jun 2022 09:59:29 +0800 Subject: [PATCH] stripe demo --- plugins/BKStripe/columns.php | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/plugins/BKStripe/columns.php b/plugins/BKStripe/columns.php index f282034f..46ec91ff 100644 --- a/plugins/BKStripe/columns.php +++ b/plugins/BKStripe/columns.php @@ -12,11 +12,28 @@ return [ [ 'name' => 'api_key', + 'label' => 'API Key', 'type' => 'string', ], [ - 'name' => 'gender', + 'name' => 'api_secret', + 'label' => 'API Secret', + 'type' => 'string', + ], + [ + 'name' => 'description', + 'label' => '描述', + 'type' => 'text', + ], + [ + 'name' => 'country', + 'label' => '国家', 'type' => 'select', - 'option' => ['male', 'female'] + 'option' => ['China', 'USA'] + ], + [ + 'name' => 'active', + 'label' => '是否开启', + 'type' => 'bool', ] ];