shish 4 лет назад
Родитель
Сommit
8ef4cef673
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app-ghs/controllers/ProductController.php

+ 2 - 2
app-ghs/controllers/ProductController.php

@@ -718,9 +718,9 @@ class ProductController extends BaseController
     {
         $respond = ProductService::generateBarcodeTable($this->sjId, $this->shopId);
         $file = $respond['file'] ?? '';
-        $shortFile = $respond['shortFile'] ?? '';
+        //$shortFile = $respond['shortFile'] ?? '';
         $fileUrl = Yii::$app->params['ghsHost'] . $file;
-        util::success(['file' => $fileUrl, 'shortFile' => $shortFile]);
+        util::success(['file' => $fileUrl, 'shortFile' => $file]);
     }
 
 }