更新目录结构

This commit is contained in:
2023-10-21 21:18:46 +08:00
parent 664295167d
commit 1153b13299
298 changed files with 3032 additions and 2173 deletions

View File

@@ -0,0 +1,21 @@
<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace app\model\operate;
use app\model\BaseModel;
use think\model\concern\SoftDelete;
use think\facade\Cache;
class ClientConfig extends BaseModel{
protected function getStatusTextAttr($value, $data){
$status = ['禁用', '启用'];
return isset($status[$data['status']]) ? $status[$data['status']] : '';
}
}