shish 2 年之前
父節點
當前提交
6c516b432b
共有 1 個文件被更改,包括 11 次插入0 次删除
  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);
         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]);
+    }
+
 }
 }