shish 2 lat temu
rodzic
commit
6c516b432b
1 zmienionych plików z 11 dodań i 0 usunięć
  1. 11 0
      app-ghs/controllers/GhsController.php

+ 11 - 0
app-ghs/controllers/GhsController.php

@@ -173,4 +173,15 @@ class GhsController extends BaseController
         util::success($list);
     }
 
+    //下载供货商 ssh 20240506
+    public function actionDownloadGhs()
+    {
+//        $level = Yii::$app->request->get('level', 0);
+//        $respond = ProductService::generatePriceTable($this->sjId, $level, $this->mainId);
+//        $file = $respond['file'] ?? '';
+//        $shortFile = $respond['shortFile'] ?? '';
+//        $fileUrl = Yii::$app->params['ghsHost'] . $file;
+//        util::success(['file' => $fileUrl, 'shortFile' => $shortFile]);
+    }
+
 }