调整代码格式及使用常量去替换常用值
This commit is contained in:
@@ -9,6 +9,9 @@ use think\Model;
|
||||
*/
|
||||
class Menu extends Model
|
||||
{
|
||||
const STATUS_ACTIVE = 1;
|
||||
const TOP_LEVEL = 0;
|
||||
|
||||
// 设置数据表名
|
||||
protected $name = 'menus';
|
||||
}
|
||||
Reference in New Issue
Block a user