biz9-logic 3.0.6 → 3.0.8
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 +18 -3
- package/package.json +1 -1
- package/test.js +2 -3
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -7,9 +7,24 @@ Description: BiZ9 Framework: Logic-JS
|
|
|
7
7
|
const { get_new_item_main,get_data_config_main,get_cloud_url_main,get_biz_item_main,get_cloud_filter_obj_main,get_title_url_main } = require('./main');
|
|
8
8
|
|
|
9
9
|
class DataType {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
static DT_ADMIN='admin_biz';
|
|
11
|
+
static DT_BLANK='blank_biz';
|
|
12
|
+
static DT_BLOG_POST='blog_post_biz';
|
|
13
|
+
static DT_CART_ITEM="cart_item_biz";
|
|
14
|
+
static DT_CATEGORY='category_biz';
|
|
15
|
+
static DT_EVENT='event_biz';
|
|
16
|
+
static DT_GALLERY='gallery_biz';
|
|
17
|
+
static DT_ITEM_MAP='item_map_biz';
|
|
18
|
+
static DT_ITEM='item_biz';
|
|
19
|
+
static DT_PHOTO='photo_biz';
|
|
20
|
+
static DT_REVIEW='review_biz';
|
|
21
|
+
static DT_SERVICE='service_biz';
|
|
22
|
+
static DT_USER='user_biz';
|
|
23
|
+
static DT_PROJECT='project_biz';
|
|
24
|
+
static DT_PRODUCT='product_biz';
|
|
25
|
+
static DT_ORDER="order_biz";
|
|
26
|
+
static DT_ORDER_ITEM="order_item_biz";
|
|
27
|
+
static DT_VIDEO='video_biz';
|
|
13
28
|
}
|
|
14
29
|
class Logic {
|
|
15
30
|
static get_new_item = (data_type,id) => {
|
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -112,8 +112,8 @@ describe("connect", () => {
|
|
|
112
112
|
console.log('GET_URL-ACTION-UPDATE-LIST-ITEM-START');
|
|
113
113
|
let biz9_config = Scriptz.get_biz9_config({biz9_config_file:path.resolve('../../biz9_config')});
|
|
114
114
|
let data_type = 'dt_blank';
|
|
115
|
-
let cloud_url = Logic.
|
|
116
|
-
Log.w('
|
|
115
|
+
let cloud_url = Logic.get_url_action_update_list(biz9_config,data_type);
|
|
116
|
+
Log.w('get_url_action_update_list_item',cloud_url);
|
|
117
117
|
console.log('GET_URL-ACTION-UPDATE-LIST-ITEM-SUCCESS');
|
|
118
118
|
call()
|
|
119
119
|
},
|
|
@@ -151,7 +151,6 @@ describe("connect", () => {
|
|
|
151
151
|
console.log('SET-ITEM-BIZ-SUCCESS');
|
|
152
152
|
call();
|
|
153
153
|
},
|
|
154
|
-
|
|
155
154
|
function(call) {
|
|
156
155
|
// never happens, because "second thing"
|
|
157
156
|
// passed an error to the done() callback
|