From 6f1a64866968eff71cc0db1836e8fc32bf5bf80a Mon Sep 17 00:00:00 2001 From: liapples Date: Sat, 16 Oct 2021 12:22:43 +0800 Subject: [PATCH] required() --- app/Admin/Forms/Setting.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Admin/Forms/Setting.php b/app/Admin/Forms/Setting.php index 3f8afba..6ed8e28 100644 --- a/app/Admin/Forms/Setting.php +++ b/app/Admin/Forms/Setting.php @@ -40,11 +40,11 @@ class Setting extends Form $this->text('payee_mchid', '收款小程序MCH_ID')->required(); $this->text('payee_mchkey', '收款小程序MCH_KEY')->required(); })->tab('小程序服务商配置', function () { - $this->text('service_appid', '小程序第三方平台APPID'); - $this->text('service_appsecret', '小程序第三方平台APP_SECRET'); - $this->text('service_token', '消息校验Token')->help('跟小程序管理后台的一致,请勿随意更改'); - $this->text('service_aeskey', '消息加解密Key')->help('跟小程序管理后台的一致,请勿随意更改'); - $this->text('service_component_phone', '联系电话')->help('为代理商注册小程序时,腾讯下发注册认证信息时,代理商会看到此电话'); + $this->text('service_appid', '小程序第三方平台APPID')->required(); + $this->text('service_appsecret', '小程序第三方平台APP_SECRET')->required(); + $this->text('service_token', '消息校验Token')->help('跟小程序管理后台的一致,请勿随意更改')->required(); + $this->text('service_aeskey', '消息加解密Key')->help('跟小程序管理后台的一致,请勿随意更改')->required(); + $this->text('service_component_phone', '联系电话')->help('为代理商注册小程序时,腾讯下发注册认证信息时,代理商会看到此电话')->required(); }); }