多问问
This commit is contained in:
@@ -86,7 +86,7 @@ _.router.post('/allOrder', async function(req, res, next) {
|
|||||||
*/
|
*/
|
||||||
_.router.post('/buyOrder', async function(req, res, next) {
|
_.router.post('/buyOrder', async function(req, res, next) {
|
||||||
|
|
||||||
var goods_id = JSON.parse(req.body.goodsid);
|
var goods_id = req.body.goodsid;
|
||||||
|
|
||||||
goods_id.forEach(async function(val) {
|
goods_id.forEach(async function(val) {
|
||||||
var buyOrder = await _.db.query({
|
var buyOrder = await _.db.query({
|
||||||
|
|||||||
Reference in New Issue
Block a user