我想要/business/:id/menus在做Post请求时,将刚刚新保存newMenus中的_id向数据库Business中的menu插入,但是,当我刚刚对一个新Menus,怎么样才能获取到它到_id?
/business/:id/menus
Post
newMenus
_id
Business
menu
Menus
./models/business.js
./models/menus.js
./api/add.js
侃侃尔雅
相关分类