|
|
@@ -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]);
|
|
|
+ }
|
|
|
+
|
|
|
}
|