From 81373524256dd4113b2091d7d9ab1b791c5a909f Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 12 Jun 2025 09:38:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ichat=20index=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/ichat.js | 16 ++++++++++++++++ src/views/ichat/index.vue | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 src/api/model/ichat.js create mode 100644 src/views/ichat/index.vue diff --git a/src/api/model/ichat.js b/src/api/model/ichat.js new file mode 100644 index 00000000..84b67b00 --- /dev/null +++ b/src/api/model/ichat.js @@ -0,0 +1,16 @@ +import config from "@/config" +import http from "@/utils/request" + +export default { + workchain: { + ask: { + name: "询问", + req: async function (data) { + return await http.post( + `${config.API_URL}/ichat/workchain/ask/`, + data + ); + } + } + } +} \ No newline at end of file diff --git a/src/views/ichat/index.vue b/src/views/ichat/index.vue new file mode 100644 index 00000000..f40d4cf4 --- /dev/null +++ b/src/views/ichat/index.vue @@ -0,0 +1,38 @@ + + \ No newline at end of file