Browse Source

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

林琦海 4 years ago
parent
commit
4717b2fa72
1 changed files with 2 additions and 2 deletions
  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]);
     }
 
 }