feat: index - 首页及顶部导航处理

This commit is contained in:
2025-04-07 18:10:50 +08:00
parent f914082909
commit 24575245c0
101 changed files with 5823 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare (strict_types = 1);
namespace app\index\model;
use app\common\model\SysNavigationItemBaseModel;
/**
* 导航项模型
* @mixin \think\Model
*/
class SysNavigationItemModel extends SysNavigationItemBaseModel
{
// 关联导航
public function navigation()
{
return $this->hasOne(SysNavigationModel::class, 'id', 'nav_id');
}
}