platform notify
This commit is contained in:
@ -39,6 +39,10 @@ abstract class BaseCache
|
||||
{
|
||||
return $this->getCacheData($key);
|
||||
}
|
||||
function del($key): bool
|
||||
{
|
||||
return $this->delCacheData($key);
|
||||
}
|
||||
|
||||
function getCacheData($primary_key = null): array|string|null
|
||||
{
|
||||
|
||||
26
app/Cache/Table/Wallet/TableWalletPlatformCache.php
Normal file
26
app/Cache/Table/Wallet/TableWalletPlatformCache.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace App\Cache\Table\Wallet;
|
||||
|
||||
use App\Cache\Base\TableBaseCache;
|
||||
use App\Models\Wallet\Other\WalletSettingModel;
|
||||
use App\Models\Wallet\Platform\WalletPlatformModel;
|
||||
|
||||
//用户缓存用户基础信息(结构自己组装不完全等于数据表)uid为主键
|
||||
class TableWalletPlatformCache extends TableBaseCache
|
||||
{
|
||||
|
||||
public string $table_class = WalletPlatformModel::class;
|
||||
public string $primary_prefix = 'TableWalletPlatformCache:'; //后面跟name
|
||||
|
||||
public string $primary_key_column = 'id';
|
||||
public array $get_columns = [
|
||||
'id',
|
||||
'name',
|
||||
'code',
|
||||
'appid',
|
||||
'secret',
|
||||
'notify_ip',
|
||||
'created_at',
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user