biz9-logic 4.8.328 → 4.8.329
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 +14 -14
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -234,7 +234,7 @@ class Page_Logic {
|
|
|
234
234
|
return String(Str.get_title(data_type.replaceAll('_',' '))).trim();
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
static
|
|
237
|
+
static url_page = (app_id,url,title_url,param) => {
|
|
238
238
|
let action_url="page/get/"+title_url;
|
|
239
239
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
240
240
|
};
|
|
@@ -292,19 +292,19 @@ class Order_Logic {
|
|
|
292
292
|
static TYPE_PAYMENT_METHOD_OTHER="Other";
|
|
293
293
|
static TYPE_PAYMENT_METHOD_TEST="Test";
|
|
294
294
|
|
|
295
|
-
static
|
|
295
|
+
static url_search = (app_id,url,parent_data_type,param) => {
|
|
296
296
|
let action_url="item/search_order/"+parent_data_type;
|
|
297
297
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
298
298
|
};
|
|
299
|
-
static
|
|
299
|
+
static url_post = (app_id,url,param) => {
|
|
300
300
|
let action_url="item/post_order";
|
|
301
301
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
302
302
|
};
|
|
303
|
-
static
|
|
303
|
+
static url_get = (app_id,url,order_number,param) => {
|
|
304
304
|
let action_url="item/get_order/"+order_number;
|
|
305
305
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
306
306
|
};
|
|
307
|
-
static
|
|
307
|
+
static url_delete = (app_id,url,id,param) => {
|
|
308
308
|
let action_url="item/delete_order/"+id;
|
|
309
309
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
310
310
|
};
|
|
@@ -355,19 +355,19 @@ class Order_Logic {
|
|
|
355
355
|
class Cart_Logic {
|
|
356
356
|
static CART_NUMBER="CA-";
|
|
357
357
|
|
|
358
|
-
static
|
|
358
|
+
static url_search = (app_id,url,parent_data_type,param) => {
|
|
359
359
|
let action_url="item/search_cart/"+parent_data_type;
|
|
360
360
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
361
361
|
};
|
|
362
|
-
static
|
|
362
|
+
static url_post = (app_id,url,parent_data_type,param) => {
|
|
363
363
|
let action_url="item/post_cart/"+parent_data_type;
|
|
364
364
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
365
365
|
};
|
|
366
|
-
static
|
|
366
|
+
static url_delete = (app_id,url,id,param) => {
|
|
367
367
|
let action_url="item/delete_cart/"+id;
|
|
368
368
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
369
369
|
};
|
|
370
|
-
static
|
|
370
|
+
static url_get = (app_id,url,cart_number,param) => {
|
|
371
371
|
let action_url="item/get_cart/"+cart_number;
|
|
372
372
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
373
373
|
};
|
|
@@ -617,7 +617,7 @@ class Template_Logic {
|
|
|
617
617
|
static TYPE_PAGE_BODY='body';
|
|
618
618
|
static TYPE_PAGE_FOOTER='footer';
|
|
619
619
|
|
|
620
|
-
static
|
|
620
|
+
static url_get = (app_id,url,key,param) => {
|
|
621
621
|
let action_url="item/get_template/"+key;
|
|
622
622
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
623
623
|
};
|
|
@@ -1198,11 +1198,11 @@ class Favorite_Logic {
|
|
|
1198
1198
|
user_id:user_id
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
|
-
static
|
|
1201
|
+
static url_search = (app_id,url,parent_data_type,param) => {
|
|
1202
1202
|
let action_url="item/search_favorite/"+parent_data_type;
|
|
1203
1203
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
1204
1204
|
};
|
|
1205
|
-
static
|
|
1205
|
+
static url_post = (app_id,url,parent_data_type,parent_id,user_id,param) => {
|
|
1206
1206
|
let action_url="item/post_favorite/"+parent_data_type+"/"+parent_id+"/"+user_id;
|
|
1207
1207
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
1208
1208
|
};
|
|
@@ -1232,11 +1232,11 @@ class Favorite_Logic {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
}
|
|
1234
1234
|
class Review_Logic {
|
|
1235
|
-
static
|
|
1235
|
+
static url_post = (app_id,url,parent_data_type,parent_id,user_id,param) => {
|
|
1236
1236
|
let action_url="item/post_review/"+parent_data_type+"/"+parent_id+"/"+user_id;
|
|
1237
1237
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
1238
1238
|
};
|
|
1239
|
-
static
|
|
1239
|
+
static url_search = (app_id,url,parent_data_type,page_current,page_size,param) => {
|
|
1240
1240
|
let action_url="item/search_review/"+parent_data_type+"/"+page_current+"/"+page_size;
|
|
1241
1241
|
return get_cloud_url_main(app_id,url,action_url,param);
|
|
1242
1242
|
};
|