Browse Source

required()

master
李可松 4 years ago
parent
commit
6f1a648669
  1. 10
      app/Admin/Forms/Setting.php

10
app/Admin/Forms/Setting.php

@ -40,11 +40,11 @@ class Setting extends Form
$this->text('payee_mchid', '收款小程序MCH_ID')->required(); $this->text('payee_mchid', '收款小程序MCH_ID')->required();
$this->text('payee_mchkey', '收款小程序MCH_KEY')->required(); $this->text('payee_mchkey', '收款小程序MCH_KEY')->required();
})->tab('小程序服务商配置', function () { })->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();
}); });
} }

Loading…
Cancel
Save