对接AI
This commit is contained in:
@@ -13,6 +13,7 @@ module.exports = {
|
||||
// 生产环境
|
||||
serverUrl: 'https://server.websoft.top/api',
|
||||
apiUrl: 'https://cms-api.websoft.top/api',
|
||||
// apiUrl: 'http://127.0.0.1:9200/api',
|
||||
socketUrl: 'wss://server.websoft.top',
|
||||
|
||||
// fileUrl: 'https://oss.jimeigroup.cn',
|
||||
|
||||
8
api/house-ai-chat.js
Normal file
8
api/house-ai-chat.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import http from './index.js';
|
||||
|
||||
// AI找房问答
|
||||
export const sendHouseAiMessage = (data) => http.post('/house/ai-chat/message', data)
|
||||
|
||||
export default {
|
||||
sendHouseAiMessage
|
||||
}
|
||||
8
api/house-ai-config.js
Normal file
8
api/house-ai-config.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import http from './index.js';
|
||||
|
||||
// 获取当前租户AI配置
|
||||
export const getCurrentHouseAiConfig = () => http.get('/house/ai-config/current')
|
||||
|
||||
export default {
|
||||
getCurrentHouseAiConfig
|
||||
}
|
||||
8
api/house-message.js
Normal file
8
api/house-message.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import http from './index.js';
|
||||
|
||||
// 新增AI找房留言
|
||||
export const addHouseMessage = (data) => http.post('/house/house-message', data)
|
||||
|
||||
export default {
|
||||
addHouseMessage
|
||||
}
|
||||
Reference in New Issue
Block a user