Feat(云灵AI):界面初始化

This commit is contained in:
lifizer
2025-03-27 18:12:48 +08:00
parent 01c1a44a32
commit 615b89c8a5
21 changed files with 7240 additions and 316 deletions
+9
View File
@@ -0,0 +1,9 @@
import request from '@/utils/request'
export function getSseConfigV1(data) {
return request.post('/v1/chat/sse/message', data, { login: true })
}
export function getCompletions(params) {
return request.get('/v1/chat/sse/message', params, { login: true })
}
+7 -2
View File
@@ -9,7 +9,7 @@ export function getSplashScreen() {
* @returns {*}
*/
export function getHomeData(params) {
return request.get("index", params, {
return request.get("/index", params, {
login: false
});
}
@@ -211,4 +211,9 @@ export function getXiaoZhi() {
export function pushSystemStatic(data) {
return request.post("/systemStats/push", data, { login: false })
}
}
// 获取AI系统设置
export function getAiSystemInfoSetting() {
return request.get('/ai/systemInfo', {}, { login: false })
}
+11
View File
@@ -0,0 +1,11 @@
import {
postAction
} from '@/api/http.js'
export function makeFileTransTask(data) {
return postAction('/app/voiceToText/makeFileTransTask', data)
}
export function getFileTransResult(data) {
return postAction('/app/voiceToText/getFileTransResult', data)
}