- 自定义云数据库权限,错误代码-502003(无权限)?
//user表 { "_openid":string//openid "basicAdmin":true } //test表权限 { "read": "doc._openid == auth.openid || get(`database.user.${auth.openid}`).basicAdmin==true", "write": "get(`database.user.${auth.openid}`).basicAdmin==true" } //本地测试代码 test() { db.collection('test').add({ data:{ text:'123' } }) .then(res => { console.log(res) }) }, //控制台打印 VM3299 WAService.js:2 Unhandled promise rejection Error: errCode: -502003 database permission denied | errMsg: Permission denied at success (VM3299 WAService.js:2) at r.success (VM3299 WAService.js:2) at u (VM3299 WAService.js:2) at Object.success (VM3299 WAService.js:2) at a (VM3299 WAService.js:2) at VM3299 WAService.js:2 at Mi (VM3299 WAService.js:2) at VM3299 WAService.js:2 at VM15 asdebug.js:1 at C (VM15 asdebug.js:1)(env: Windows,mp,1.05.2201240; lib: 2.23.2) 问题出哪了求解?
2022-04-05 - 网址拼接的时间参数怎么修改?
[图片] 按照科大讯飞的拼接规则拼接的,和用例的时间格式不太一样(如下),怎样修改[图片]
2021-03-13 - 百度TTS返回的是文件流怎么转成MP3呢?
第一次遇到这个问题,大佬们支支招[图片]
2021-03-11