Ordini
This commit is contained in:
2
src/server/modules/Cart.js
Normal file → Executable file
2
src/server/modules/Cart.js
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
const shared_consts = require('../tools/shared_nodejs');
|
||||
const cartModel = require('../models/cart')
|
||||
|
||||
const { ObjectID } = require('mongodb');
|
||||
@@ -76,6 +77,7 @@ class Cart {
|
||||
totalQty: this.totalQty,
|
||||
totalPrice: this.totalPrice,
|
||||
userId: this.userId,
|
||||
note: this.note,
|
||||
modify_at: this.modify_at
|
||||
})
|
||||
return newCart
|
||||
|
||||
Reference in New Issue
Block a user