初始化项目

This commit is contained in:
augushong
2021-03-23 18:14:33 +08:00
parent 1f92ae2ce3
commit c76cfa3ae1
273 changed files with 26485 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace app\model;
use think\Model;
/**
* 权限表
* @mixin think\Model
*/
class AdminPermission extends Model
{
//
public function getIsLogAttr($value)
{
$status = [
0=>'不记录',
1=>'记录',
];
return $status[intval($value)];
}
}