platform notify

This commit is contained in:
cano
2024-03-27 00:11:26 +08:00
parent 01e93acdd8
commit 4b47fe7250
21 changed files with 462 additions and 18 deletions

View File

@ -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
{

View 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',
];
}