This commit is contained in:
TL 2022-08-23 08:57:16 +08:00
parent 6090c3fe14
commit a13a310efb
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ return [
|
*/
'core' => [
'minPhpVersion' => '7.0.0',
'minPhpVersion' => '8.0.2',
],
'final' => [
'key' => true,

View File

@ -30,7 +30,7 @@ class AccountService
*/
public static function register(array $data): Customer
{
$data['customer_group_id'] = system_setting('base.default_customer_group_id', 1); // default_customer_group_id为默认客户组名称
$data['customer_group_id'] = system_setting('base.default_customer_group_id', 0); // default_customer_group_id为默认客户组名称
$data['status'] = !system_setting('base.approve_customer'); // approve_customer为是否需要审核客户
$data['from'] = $data['from'] ?? 'pc';
$data['locale'] = locale();