压缩包导入
This commit is contained in:
@@ -171,7 +171,7 @@ class SkuController extends BaseController
|
||||
|
||||
//主图
|
||||
if(!empty($rowData[6])){
|
||||
$tmpPath = runtime_path('upload/import/main_pic/'.$rowData[6]);
|
||||
$tmpPath = runtime_path('upload/import/pic/'.$rowData[6]);
|
||||
$res = $uploadService->uploadLocalFile(['path' => $tmpPath, 'scene' => 'sku']);
|
||||
$data['main_image'] = $res['file_url'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user