正在显示
1 个修改的文件
包含
1 行增加
和
3 行删除
| @@ -45,7 +45,7 @@ class ImageController extends Controller | @@ -45,7 +45,7 @@ class ImageController extends Controller | ||
| 45 | 1 => 'image_product', | 45 | 1 => 'image_product', |
| 46 | 2 => 'image_news', | 46 | 2 => 'image_news', |
| 47 | 3 => 'image_blog', | 47 | 3 => 'image_blog', |
| 48 | - 4 => 'image_other', | 48 | + 0 => 'image_other', |
| 49 | ]; | 49 | ]; |
| 50 | 50 | ||
| 51 | public function __construct() | 51 | public function __construct() |
| @@ -172,8 +172,6 @@ class ImageController extends Controller | @@ -172,8 +172,6 @@ class ImageController extends Controller | ||
| 172 | * @time :2023/7/19 16:38 | 172 | * @time :2023/7/19 16:38 |
| 173 | */ | 173 | */ |
| 174 | public function saveMysql(&$imageModel,&$files,$fileName,$hash){ | 174 | public function saveMysql(&$imageModel,&$files,$fileName,$hash){ |
| 175 | - var_dump($this->param); | ||
| 176 | - die(); | ||
| 177 | $data = [ | 175 | $data = [ |
| 178 | 'path' => $this->path.'/'.$fileName, | 176 | 'path' => $this->path.'/'.$fileName, |
| 179 | 'created_at' => date('Y-m-d H:i:s',time()), | 177 | 'created_at' => date('Y-m-d H:i:s',time()), |
-
请 注册 或 登录 后发表评论