diff --git a/src/aiService-sub/index/index.vue b/src/aiService-sub/index/index.vue index b7388f1..39d0051 100644 --- a/src/aiService-sub/index/index.vue +++ b/src/aiService-sub/index/index.vue @@ -26,7 +26,7 @@ const userStore = useUserStore() //chat.ycymedu.com //chatv2.ycymedu.com const url = ref( - `https://chat.ycymedu.com?userId=${userStore.userInfo.estimatedAchievement.wxId}&subjectGroup=${userStore.userInfo.estimatedAchievement.subjectGroup}&expectedScore=${userStore.userInfo.estimatedAchievement.expectedScore}&provinceName=${userStore.userInfo.estimatedAchievement.provinceName}&token=${userStore.userInfo.token}`, + `https://chat.ycymedu.com?userId=${userStore.userInfo.estimatedAchievement.wxId}&subjectGroup=${userStore.userInfo.estimatedAchievement.subjectGroup}&expectedScore=${userStore.userInfo.estimatedAchievement.expectedScore}&provinceName=${userStore.userInfo.estimatedAchievement.provinceName}&locationCode=${userStore.userInfo.estimatedAchievement.provinceCode}&token=${userStore.userInfo.token}`, ) const handleChildMessage = (event) => { @@ -43,9 +43,9 @@ onLoad((options) => { if (options.fileId) { url.value += `&fileId=${options.fileId}` } - if (options.locationCode) { - url.value += `&locationCode=${options.locationCode}` - } + // if (options.locationCode) { + // url.value += `&locationCode=${options.locationCode}` + // } // const recorderManager = uni.getRecorderManager() // recorderManager.onError((res) => { // console.log('录音错误', res) diff --git a/src/pages-sub/ucenter/wishList/wishList.vue b/src/pages-sub/ucenter/wishList/wishList.vue index 9a4b72a..cba236a 100644 --- a/src/pages-sub/ucenter/wishList/wishList.vue +++ b/src/pages-sub/ucenter/wishList/wishList.vue @@ -85,8 +85,9 @@ const handleDownload = (item) => { location: userStore.userInfo.estimatedAchievement.provinceCode, }).then((res) => { if (res.code === 200) { + const resp = res.result as { url: string } uni.downloadFile({ - url: res.result as string, + url: resp.url, filePath: '', success: function (res) { if (res.statusCode === 200) {