Uniapp / Unicloud 之前在这里卡了好久,post请求云函数怎么都收不到在Unicloud云函数开发后端服务时,如果需要涉及到POST请求需要: const db = uniCloud.database(); exports.main = async (event, context) => { let {num} = await JSON.parse(event.body);//需要预解析body对象 const res = await db.collection("article").limit(num).get(); return res };