biz9-logic 4.8.283 → 4.8.284
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biz9_config +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -261,8 +261,8 @@ class Order_Logic {
|
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
class Cart_Logic {
|
|
264
|
-
static get_new = (parent_data_type) => {
|
|
265
|
-
return DataItem.get_new(DataType.CART,0,{cart_number:FieldType.CART_NUMBER + Num.get_id(99999),parent_data_type:parent_data_type,grand_total:0,cart_item_list:[]});
|
|
264
|
+
static get_new = (parent_data_type,user_id) => {
|
|
265
|
+
return DataItem.get_new(DataType.CART,0,{user_id:user_id,cart_number:FieldType.CART_NUMBER + Num.get_id(99999),parent_data_type:parent_data_type,grand_total:0,cart_item_list:[]});
|
|
266
266
|
};
|
|
267
267
|
static get_new_cart_item = (parent_data_type,parent_id,cart_number,quanity) =>{
|
|
268
268
|
return DataItem.get_new(DataType.CART_ITEM,0,{parent_data_type:parent_data_type,parent_id:parent_id,cart_number:cart_number,quanity:quanity,cart_sub_item_list:[]});
|