发布推送
This commit is contained in:
22
app/Cache/Table/TableCustomerUserCache.php
Normal file
22
app/Cache/Table/TableCustomerUserCache.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace App\Cache\Table;
|
||||
|
||||
use App\Cache\Base\TableBaseCache;
|
||||
use App\Models\Customer\CustomerUserModel;
|
||||
|
||||
//用户缓存用户基础信息(结构自己组装不完全等于数据表)uid为主键
|
||||
class TableCustomerUserCache extends TableBaseCache
|
||||
{
|
||||
|
||||
public string $table_class = CustomerUserModel::class;
|
||||
public string $primary_prefix = 'TableCustomerUserCache:'; //后面跟uid
|
||||
|
||||
public string $primary_key_column = 'id';
|
||||
public array $get_exclude_columns = [
|
||||
'password',
|
||||
'google_auth_secret',
|
||||
];
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user