diff --git a/pages/index/index.vue b/pages/index/index.vue index 5ed844a..91f9d96 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -439,7 +439,8 @@ sysType3:'', scenes:'', audiences:this.audiences.join(','), - type:'' + type:'', + userId:'' } query.type=this.dataFilter.courseParams.type; @@ -470,6 +471,7 @@ //从新课程库中取10条,从老库中取10条 keyword:this.course.keyword uni.showLoading({title:'加载中...'}); + query.userId = this.userInfo.aid await apiCoursePortal.courseSearch(query).then(res=>{ setTimeout(function(){ uni.hideLoading() },100); if(res.status==200 && res.result.list.length>0){ diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index 4e47c2a..a2c513d 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -19,4 +19,4 @@ hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); - })();