Merge branch 'dev-AI-v5' into dev
This commit is contained in:
@@ -38,6 +38,10 @@ export function deleteChatListByType(type) {
|
||||
return request.delete('/v1/chat/type/' + type, {}, { login: true })
|
||||
}
|
||||
|
||||
export function deleteCountyChatListByType(type, params) {
|
||||
return request.delete('/county-ai/chat/type/' + type + params, {}, { login: true })
|
||||
}
|
||||
|
||||
export function getWeatherData(params) {
|
||||
return request.get('/v1/chat/weatherData', params, { login: true })
|
||||
}
|
||||
@@ -59,3 +63,33 @@ export function getAnalyzeKeywordsChangeV3(data) {
|
||||
export function getAnalyzeByImageV3(data) {
|
||||
return request.post('/v1/chat/image/recognition', data, { login: true })
|
||||
}
|
||||
|
||||
// 获取送礼选项配置
|
||||
export function getGiftRecommendOptions(params) {
|
||||
return request.get('/ai/gift-recommend/options', params, { login: true })
|
||||
}
|
||||
|
||||
// 获取县域AI详情
|
||||
export function getCountyAiDetail(params) {
|
||||
return request.get('/county-ai/detail', params, { login: true })
|
||||
}
|
||||
|
||||
export function getSseCountyAiConfigV1(data) {
|
||||
return request.post('/county-ai/chat', data, { login: true })
|
||||
}
|
||||
|
||||
export function getCountyAiCompletionsV1(params) {
|
||||
return request.get('/county-ai/chat/recognize', params, { login: true })
|
||||
}
|
||||
|
||||
export function getCountyAiChatList(params) {
|
||||
return request.get('/county-ai/chat/list', params, { login: true })
|
||||
}
|
||||
|
||||
export function getCountyAiHistoryChatMessage(params) {
|
||||
return request.get('/county-ai/chat/message', params, { login: true })
|
||||
}
|
||||
|
||||
export function getGiftRecommendPrompt(data) {
|
||||
return request.post('/ai/gift-recommend/build-prompt', data, { login: true })
|
||||
}
|
||||
|
||||
@@ -223,6 +223,16 @@ export function getAiSystemInfoTopic() {
|
||||
return request.get('/ai/systemTopic', {}, { login: false })
|
||||
}
|
||||
|
||||
// 获取异常提示配置
|
||||
export function getExceptionConfig() {
|
||||
return request.get('/ai/exceptionConfig', {}, { login: true })
|
||||
}
|
||||
|
||||
// 获取已启用的底部导航配置列表
|
||||
export function getBottomNavigationConfigList() {
|
||||
return request.get('/ai/bottom-navigation/list', {}, { login: true })
|
||||
}
|
||||
|
||||
// 获取通用分享配置
|
||||
export function getWeixinShareConfig() {
|
||||
return request.get('/weixinShareConfig', {}, { login: false })
|
||||
|
||||
Reference in New Issue
Block a user