小助理
This commit is contained in:
@@ -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 = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user