作者 lyh

gx

... ... @@ -40,7 +40,7 @@ class ImageController extends Controller
public $cache = '';//缓存数据
public $upload_location = 1;//是否同步到cos
public $upload_location = 0;//是否同步到cos
public $image_type = [
1 => 'image_product',
2 => 'image_news',
... ... @@ -172,6 +172,8 @@ 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()),
... ...