biz9-logic 4.8.58 → 4.8.59
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 +5 -1
- package/package.json +1 -1
- package/test.js +3 -3
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -471,7 +471,7 @@ class Field_Logic {
|
|
|
471
471
|
option.section_count = option.section_count ? option.section_count : 9;
|
|
472
472
|
option.get_section = option.get_section ? true : false;
|
|
473
473
|
}
|
|
474
|
-
if(
|
|
474
|
+
if(data_type==DataType.PRODUCT){
|
|
475
475
|
option.product_count = option.product_count ? option.product_count : 9;
|
|
476
476
|
}
|
|
477
477
|
if(data_type==DataType.SERVICE){
|
|
@@ -589,6 +589,10 @@ class PageType {
|
|
|
589
589
|
static BLOG_POST_BROWSE='blog_post_browse';
|
|
590
590
|
static BLOG_POST_DETAIL='blog_post_detail';
|
|
591
591
|
|
|
592
|
+
static CATEGORY='category';
|
|
593
|
+
static CATEGORY_BROWSE='category_browse';
|
|
594
|
+
static CATEGORY_DETAIL='category_detail';
|
|
595
|
+
|
|
592
596
|
static EVENT='event';
|
|
593
597
|
static EVENT_BROWSE='event_browse';
|
|
594
598
|
static EVENT_DETAIL='event_detail';
|
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -172,8 +172,8 @@ describe("connect", () => {
|
|
|
172
172
|
//let product = Product_Logic.get_test({fields:["cool_beanj]})
|
|
173
173
|
//Log.w("product",product);
|
|
174
174
|
//let product_list = Product_Logic.get_test_list({product_count:10,get_blank:true});
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
let product_list = Product_Logic.get_test_list();
|
|
176
|
+
Log.w('product_list',product_list);
|
|
177
177
|
//let [category_list,product_list]=Product.get_test_list_by_category({category_count:5,product_count:9});
|
|
178
178
|
//Log.w('category_list',category_list);
|
|
179
179
|
|
|
@@ -277,7 +277,7 @@ describe("connect", () => {
|
|
|
277
277
|
|
|
278
278
|
/* --REVIEW--START */
|
|
279
279
|
//Log.w("Review",Review.get_test());
|
|
280
|
-
Log.w("Review List",Review_Logic.get_test_list());
|
|
280
|
+
//Log.w("Review List",Review_Logic.get_test_list());
|
|
281
281
|
/*
|
|
282
282
|
let review_list = Review.get_test_list({review_count:3,get_item:true})
|
|
283
283
|
Log.w("Review List",review_list);
|