嵌入工具
宝塔Shell脚本 cd /www/wwwroot/项目根目录/ php think cron:game_rtp>> /dev/null 2>&1
This commit is contained in:
16
app/admin/model/Game.php
Normal file
16
app/admin/model/Game.php
Normal 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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user