diff --git a/app/api/controller/UploadLog.php b/app/api/controller/UploadLog.php index 837f159..92fb67f 100644 --- a/app/api/controller/UploadLog.php +++ b/app/api/controller/UploadLog.php @@ -19,6 +19,7 @@ class UploadLog extends Common parent::__construct($app); $this->model = new \app\api\model\UploadLog(); } + /** * @OA\Get ( * path="uploadLog/index",tags={"上传日志管理"},summary="获取上传日志列表",description="根据相关参数获取日志列表", @@ -76,7 +77,8 @@ class UploadLog extends Common return send_http_status('', $this->model->parentDel($ids) ? 205 : 206); } - public function getSiteLists(){ + public function getSiteLists() + { //数据处理 $_data = $this->model->getLists(); @@ -85,19 +87,21 @@ class UploadLog extends Common } - public function getTagLists(){ + public function getTagLists() + { $tagLists = config('dict.sqlfields.image_storage_type'); $senddData = []; - foreach ($tagLists as $key => $val){ + foreach ($tagLists as $key => $val) { $item = []; $item['title'] = $key; - $item['name'] = $val; + $item['name'] = $val; $senddData[] = $item; } return send_http_status($senddData); } - public function getStorageImages(){ + public function getStorageImages() + { $model = new ImageStorages(); $model->search_arr = ['title']; $_data = $model->getStorgaeImagesLists();