2021年6月24日

unicloud数据聚合处理

摘要: const db = uniCloud.database(); const collection=db.collection('sblist'); //链表查 var res=await collection.aggregate() .lookup({ from: 'uni-id-users', l 阅读全文

posted @ 2021-06-24 13:49 Just丶随心 阅读(805) 评论(0) 推荐(0) 编辑

uniapp的post请求失效问题

摘要: header:{ 'Content-type':'application/x-www-form-urlencoded'}//或者:header : { 'content-type': 'application/x-www-form-urlencoded;charset=utf-8' } 最终发送给服 阅读全文

posted @ 2021-06-24 10:43 Just丶随心 阅读(1364) 评论(0) 推荐(0) 编辑

unicloud链表查询

摘要: 假设 orders 集合有以下记录: [ {"_id":4,"book":"novel 1","price":30,"quantity":2}, {"_id":5,"book":"science 1","price":20,"quantity":1}, {"_id":6} ] books 集合有以下 阅读全文

posted @ 2021-06-24 10:04 Just丶随心 阅读(1164) 评论(0) 推荐(0) 编辑

导航