Przeglądaj źródła

Merge branch 'master' of http://git.huaml.com/zhh/huahuibao

林琦海 4 lat temu
rodzic
commit
4717b2fa72
1 zmienionych plików z 2 dodań i 2 usunięć
  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);
         $respond = ProductService::generateBarcodeTable($this->sjId, $this->shopId);
         $file = $respond['file'] ?? '';
         $file = $respond['file'] ?? '';
-        $shortFile = $respond['shortFile'] ?? '';
+        //$shortFile = $respond['shortFile'] ?? '';
         $fileUrl = Yii::$app->params['ghsHost'] . $file;
         $fileUrl = Yii::$app->params['ghsHost'] . $file;
-        util::success(['file' => $fileUrl, 'shortFile' => $shortFile]);
+        util::success(['file' => $fileUrl, 'shortFile' => $file]);
     }
     }
 
 
 }
 }