notice基础内容

This commit is contained in:
2025-06-23 18:13:14 +08:00
parent 1547fffc7e
commit a19e13280a
5 changed files with 137 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
<?php
namespace jerryyan\notice\model;
use think\admin\Model;
class NoticeNotice extends Model
{
public static function types()
{
return static::mk()->group('type')->field('type,count(id) as count')->select();
}
}