upd:调整菜单

This commit is contained in:
2025-05-01 11:42:05 +08:00
parent 0304dc7494
commit 20a6248fb6
47 changed files with 112 additions and 112 deletions

View File

@@ -1,6 +1,6 @@
<?php
namespace app\admin\model\zy;
namespace app\admin\model\zy\game;
use think\Model;
@@ -36,13 +36,13 @@ class Activity extends Model
public function stadium()
{
return $this->belongsTo('Stadium', 'gym_id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('app\admin\model\zy\Stadium', 'gym_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
public function club()
{
return $this->belongsTo('Club', 'club_id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('app\admin\model\zy\Club', 'club_id', 'id', [], 'LEFT')->setEagerlyType(0);
}

View File

@@ -1,6 +1,6 @@
<?php
namespace app\admin\model\zy;
namespace app\admin\model\zy\game;
use think\Model;
@@ -45,13 +45,13 @@ class Game extends Model
public function stadium()
{
return $this->belongsTo('Stadium', 'gym_id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('app\admin\model\zy\Stadium', 'gym_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
public function club()
{
return $this->belongsTo('Club', 'club_id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('app\admin\model\zy\Club', 'club_id', 'id', [], 'LEFT')->setEagerlyType(0);
}

View File

@@ -1,6 +1,6 @@
<?php
namespace app\admin\model\zy;
namespace app\admin\model\zy\game;
use think\Model;

View File

@@ -1,6 +1,6 @@
<?php
namespace app\admin\model\zy;
namespace app\admin\model\zy\game;
use think\Model;
@@ -39,13 +39,13 @@ class GameMatch extends Model
public function stadium()
{
return $this->belongsTo('Stadium', 'gym_id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('app\admin\model\zy\Stadium', 'gym_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
public function club()
{
return $this->belongsTo('Club', 'club_id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('app\admin\model\zy\Club', 'club_id', 'id', [], 'LEFT')->setEagerlyType(0);
}

View File

@@ -1,6 +1,6 @@
<?php
namespace app\admin\model\zy;
namespace app\admin\model\zy\game;
use think\Model;
@@ -45,7 +45,7 @@ class Participant extends Model
public function join()
{
return $this->belongsTo('app\admin\model\zy\GameJoin', 'game_join_id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('GameJoin', 'game_join_id', 'id', [], 'LEFT')->setEagerlyType(0);
}