摘要: 0、ObjectId 不能直接return前端,需要2次包裹 一、repl包裹 二、dict包裹 return {'msg': repr(docs)} return {'code': 1, 'msg': '查询成功', 'data': {'auth_list': repr(result)}} 聚合( 阅读全文
posted @ 2022-09-22 14:52 pearlcity 阅读(42) 评论(0) 推荐(0) 编辑