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