asyncfunctiongetCommentsCount(ctx){const{id}=ctx.params;constdoc=awaitcommentModel.findById(id).select({_id:1}).lean();letcount=doc.length||0;for(leti=0;i
在線等!mongoose 取不到字段求指導(dǎo)!
哈士奇WWW
2019-07-28 12:03:19