作者 lyh

gx

@@ -40,7 +40,7 @@ class ImageController extends Controller @@ -40,7 +40,7 @@ class ImageController extends Controller
40 40
41 public $cache = '';//缓存数据 41 public $cache = '';//缓存数据
42 42
43 - public $upload_location = 1;//是否同步到cos 43 + public $upload_location = 0;//是否同步到cos
44 public $image_type = [ 44 public $image_type = [
45 1 => 'image_product', 45 1 => 'image_product',
46 2 => 'image_news', 46 2 => 'image_news',
@@ -172,6 +172,8 @@ class ImageController extends Controller @@ -172,6 +172,8 @@ 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();
175 $data = [ 177 $data = [
176 'path' => $this->path.'/'.$fileName, 178 'path' => $this->path.'/'.$fileName,
177 'created_at' => date('Y-m-d H:i:s',time()), 179 'created_at' => date('Y-m-d H:i:s',time()),