1
This commit is contained in:
@@ -196,7 +196,7 @@ class SkuController extends BaseController
|
||||
$file = uniqid() . '.' . $drawing->getExtension();
|
||||
copy($drawing->getPath(), $dir . $file);
|
||||
|
||||
$images[$row] = '/upload/images/' . $file;
|
||||
$images[$row] = 'upload/images/' . $file;
|
||||
}
|
||||
}
|
||||
return $images;
|
||||
@@ -207,7 +207,7 @@ class SkuController extends BaseController
|
||||
*/
|
||||
public function template(Request $request): Response
|
||||
{
|
||||
$filePath = runtime_path() . '\upload\import_post.xlsx';
|
||||
$filePath = runtime_path() . '\upload\import.xlsx';
|
||||
var_dump($filePath);
|
||||
|
||||
if (!file_exists($filePath)) {
|
||||
|
||||
Reference in New Issue
Block a user