This commit is contained in:
2025-03-17 11:27:07 +08:00
parent 7a7f432006
commit 5febeca83f
6805 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,31 @@
<?php
/*
* description
* authorwh
* email
* createTime{2021/6/21} {15:02}
*/
namespace app\common\model;
use think\Db;
use think\Model;
class BaseModel extends Model
{
protected static $log_file = '';//日志文件名
/**
* desc
* authorwh
* @param $self_table
* @return \think\db\Query
*/
protected static function tab($self_table){
return Db::table($self_table);
}
}