更新代码
This commit is contained in:
42
config/user_account.php
Normal file
42
config/user_account.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 用户关系扩展配置
|
||||
*/
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
* 用户模型
|
||||
*/
|
||||
'user_model' => \App\User::class,
|
||||
|
||||
/**
|
||||
* 账户是否可以为负数
|
||||
*/
|
||||
'can_minus' => [
|
||||
'cash' => false,
|
||||
'score' => true,
|
||||
'act_a' => false,
|
||||
'act_b' => true,
|
||||
'act_c' => true,
|
||||
'act_d' => true,
|
||||
],
|
||||
|
||||
/**
|
||||
* 是否立即扣款
|
||||
*/
|
||||
'deductions' => false,
|
||||
|
||||
/**
|
||||
* 账户类型
|
||||
*/
|
||||
'account_type' => [
|
||||
'cash' => '现金账户',
|
||||
'score' => '积分账户',
|
||||
'act_a' => '满仓次数',
|
||||
'act_b' => '预留账户',
|
||||
'act_c' => '预留账户',
|
||||
'act_d' => '预留账户',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user