实现后台操作日志记录;

This commit is contained in:
augushong
2019-09-06 13:42:38 +08:00
parent 6715b4b09b
commit c487090181
9 changed files with 253 additions and 4 deletions

View File

@@ -11,4 +11,14 @@ use think\Model;
class AdminPermission extends Model
{
//
public function getIsLogAttr($value)
{
$status = [
0=>'不记录',
1=>'记录',
];
return $status[intval($value)];
}
}