小助理

This commit is contained in:
liuye
2024-08-23 09:47:46 +08:00
parent 21c6643622
commit 620f2baf3d

View File

@@ -203,7 +203,13 @@ export default {
if(this.content === '') return if(this.content === '') return
// this.$loading() // this.$loading()
this.showLoad = true this.showLoad = true
this.$http.post("/app/appaicopilotinfo/add", {content: this.content, appType: 0, areaId: this.areaId, aiConfigId: this.aiConfigId, supplementContent: this.latLng}).then(res => { this.$http.post("/app/appaicopilotinfo/add", {
content: this.content,
appType: 0,
areaId: this.areaId,
aiConfigId: this.aiConfigId,
supplementContent: this.latLng
}).then(res => {
if(res.code == 0) { if(res.code == 0) {
this.content = '' this.content = ''
this.messageList.push(res.data[0]) this.messageList.push(res.data[0])
@@ -225,7 +231,13 @@ export default {
} }
// this.$loading() // this.$loading()
this.showLoad = true this.showLoad = true
this.$http.post("/app/appaicopilotinfo/add", {sdkFileUrl: this.voiceUrl, fileId: this.voiceId, appType: 0, aiConfigId: this.aiConfigId}).then(res => { this.$http.post("/app/appaicopilotinfo/add", {
sdkFileUrl: this.voiceUrl,
fileId: this.voiceId,
appType: 0,
aiConfigId: this.aiConfigId,
supplementContent: this.latLng
}).then(res => {
if(res.code == 0) { if(res.code == 0) {
this.voiceUrl = '' this.voiceUrl = ''
this.voiceId = '' this.voiceId = ''