feat: 附件(软件/手册下载)

This commit is contained in:
2025-04-14 18:12:27 +08:00
parent 12987ffd39
commit 79ffb80888
8 changed files with 251 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
<?php
declare (strict_types = 1);
namespace app\index\controller;
use app\index\model\AttachmentCategoryModel;
use think\facade\View;
/**
* 附件控制器
*/
class Attachment extends Common
{
// 分页列表
public function index()
{
// 获取分类
$category = AttachmentCategoryModel::language($this->lang_id)->select();
View::assign('category', $category);
return View::fetch('index');
}
}