修改课程权限

This commit is contained in:
zhangsir
2023-11-23 13:40:00 +08:00
parent 8f9b596a84
commit 11d807cb88
5 changed files with 63 additions and 11 deletions

View File

@@ -309,7 +309,7 @@ import cellGroup from '../../uni_modules/uview-ui/libs/config/props/cellGroup'
loadStatus:'more',
count:0,
pages:0,
params:{pageIndex:1,pageSize:10,keyword:'',publish:true,device:2,},
params:{pageIndex:1,pageSize:10,keyword:'',publish:true,device:2,userId:''},
pageIndex:1,
list:[]
},
@@ -581,6 +581,8 @@ import cellGroup from '../../uni_modules/uview-ui/libs/config/props/cellGroup'
//查询课程
let $this=this;
let dataList = [];
this.course.params.userId = this.userInfo.aid
console.log(this.userInfo.aid,'aaaaa')
await apiCoursePortal.courseSearch(this.course.params).then(rs=>{
setTimeout(function(){ uni.hideLoading();},100);
if(rs.status==200){