|
...
|
...
|
@@ -32,7 +32,7 @@ class ImageController extends Controller |
|
|
|
|
|
|
|
public $row = 20;
|
|
|
|
|
|
|
|
public $map;
|
|
|
|
public $map = [];
|
|
|
|
|
|
|
|
|
|
|
|
public $upload_location = 0;//是否同步到cos
|
|
...
|
...
|
@@ -52,6 +52,7 @@ class ImageController extends Controller |
|
|
|
$this->param = $this->request->all();
|
|
|
|
$this->config = config('filesystems.disks.upload');
|
|
|
|
$this->uploads = config('upload.default_image');
|
|
|
|
$this->get_param();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -342,8 +343,6 @@ class ImageController extends Controller |
|
|
|
public function getImageList(){
|
|
|
|
$imageModel = new ImageModel();
|
|
|
|
$lists = $imageModel->lists($this->map,$this->page,$this->row);
|
|
|
|
var_dump(2222);
|
|
|
|
die();
|
|
|
|
if(!empty($lists) && !empty($lists['list'])){
|
|
|
|
foreach ($lists['list'] as $k => $v){
|
|
|
|
$v['image_link'] = getImageUrl($v['hash']);
|
...
|
...
|
|