From 50ee7232f3c98fe24a1f2e31dba9508cfec14887 Mon Sep 17 00:00:00 2001 From: gjj <Ganjj@probim.com.cn> Date: Fri, 21 Feb 2025 17:35:39 +0800 Subject: [PATCH] 模型预览 --- src/api/app.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/api/app.js b/src/api/app.js new file mode 100644 index 0000000..55265fa --- /dev/null +++ b/src/api/app.js @@ -0,0 +1,9 @@ +import { http } from "../utils/http"; +export const AppAPI = { + getRiskData(data, config = {}) { + return http.post("/beh/environment/GetRiskData", data, config); + }, + getRiskDetails(id, config = {}) { + return http.post(`/beh/environment/risk/${id}`, null, config); + }, +}; -- Gitblit v1.9.3