feat: add smt module

This commit is contained in:
nepiedg
2026-04-26 09:24:08 +08:00
parent 69eb3e5019
commit 613e4a58a9
78 changed files with 4629 additions and 5673 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace app\smt\model;
class MiniProgram extends BaseBizModel
{
protected $name = 'mini_programs';
protected $pk = 'id';
public static function findActiveById(int $id): ?self
{
return self::where('id', $id)->whereNull('deleted_at')->find();
}
}