|
...
|
...
|
@@ -45,7 +45,7 @@ class ImageController extends Controller |
|
|
|
1 => 'image_product',
|
|
|
|
2 => 'image_news',
|
|
|
|
3 => 'image_blog',
|
|
|
|
4 => 'image_other',
|
|
|
|
0 => 'image_other',
|
|
|
|
];
|
|
|
|
|
|
|
|
public function __construct()
|
|
...
|
...
|
@@ -172,8 +172,6 @@ class ImageController extends Controller |
|
|
|
* @time :2023/7/19 16:38
|
|
|
|
*/
|
|
|
|
public function saveMysql(&$imageModel,&$files,$fileName,$hash){
|
|
|
|
var_dump($this->param);
|
|
|
|
die();
|
|
|
|
$data = [
|
|
|
|
'path' => $this->path.'/'.$fileName,
|
|
|
|
'created_at' => date('Y-m-d H:i:s',time()),
|
...
|
...
|
|