From 33f004d1196d056b99a3886de070d429315bac39 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 11 Dec 2025 18:12:38 +0800
Subject: [PATCH] 将分类改为多选 修复活动报名 实现成为vip会员时根据活动报名信息绑定下级
---
admin/app/common/model/release/Tag.php | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/admin/app/common/model/release/Tag.php b/admin/app/common/model/release/Tag.php
new file mode 100644
index 0000000..c3f5a65
--- /dev/null
+++ b/admin/app/common/model/release/Tag.php
@@ -0,0 +1,35 @@
+<?php
+
+namespace app\common\model\plus\release;
+
+use app\common\model\BaseModel;
+
+/**
+ * 项目标签模型
+ */
+class Tag extends BaseModel
+{
+ protected $name = 'release_tag';
+ protected $pk = 'tag_id';
+
+
+
+ /**
+ * 获取详情
+ */
+ public static function detail($tag_id)
+ {
+ return (new static())->find($tag_id);
+ }
+
+ /**
+ * 获取列表记录
+ */
+ public static function getAll()
+ {
+ return (new static())->where('is_delete', '=', 0)
+ ->field('tag_id,name')
+ ->order(['sort' => 'asc', 'create_time' => 'asc'])
+ ->select();
+ }
+}
\ No newline at end of file
--
Gitblit v1.9.2