嵌入工具

宝塔Shell脚本
cd /www/wwwroot/项目根目录/
php think cron:game_rtp>> /dev/null 2>&1
This commit is contained in:
2026-06-12 17:53:43 +08:00
parent 45330cf2d8
commit 0588cbecdb
7 changed files with 458 additions and 1 deletions

16
app/admin/model/Game.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
namespace app\admin\model;
use think\model;
use think\model\relation\BelongsTo;
class Game extends model
{
protected $updateTime = false;
public function provider(): BelongsTo
{
return $this->belongsTo(Provider::class, 'provider_site', 'site');
}
}