From 6dc8a04ea58dbcf253104504f1507997cc866ee6 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 21 十月 2024 15:08:34 +0800 Subject: [PATCH] 更新对话组件 --- src/api/ai/chat.ts | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/api/ai/chat.ts b/src/api/ai/chat.ts index f90ce0a..098e24a 100644 --- a/src/api/ai/chat.ts +++ b/src/api/ai/chat.ts @@ -88,4 +88,21 @@ 'Content-Type': 'application/x-www-form-urlencoded', }, }); -}; \ No newline at end of file +}; + +/** + * 鏇茬嚎鏌ヨ + * @param params + * @param req + * @returns + */ +export const curveQuery = (params,req:any=request) =>{ + return req({ + url: 'chat/chat_supervisor_json', + method: 'POST', + data: params, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + }, + }); +} \ No newline at end of file -- Gitblit v1.9.3