Feat(云灵AI):界面初始化
This commit is contained in:
@@ -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
@@ -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 })
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user