biz9-logic 4.6.8 → 4.7.2
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 +8 -28
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -603,13 +603,15 @@ class DataItem {
|
|
|
603
603
|
return r_list;
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
class
|
|
606
|
+
class Blog_Post_Url {
|
|
607
607
|
static get = (biz9_config,title_url,params) => {
|
|
608
|
-
let action_url="
|
|
608
|
+
let action_url="blog_post/get/"+title_url;
|
|
609
609
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
610
610
|
};
|
|
611
|
-
|
|
612
|
-
|
|
611
|
+
}
|
|
612
|
+
class Product_Url {
|
|
613
|
+
static get = (biz9_config,title_url,params) => {
|
|
614
|
+
let action_url="product/get/"+title_url;
|
|
613
615
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
614
616
|
};
|
|
615
617
|
}
|
|
@@ -618,38 +620,16 @@ class Service_Url {
|
|
|
618
620
|
let action_url="service/get/"+title_url;
|
|
619
621
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
620
622
|
};
|
|
621
|
-
static get_page = (biz9_config,title_url,params) => {
|
|
622
|
-
let action_url="service/get_page/"+title_url;
|
|
623
|
-
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
624
|
-
};
|
|
625
623
|
}
|
|
626
624
|
class Gallery_Url {
|
|
627
625
|
static get = (biz9_config,title_url,params) => {
|
|
628
626
|
let action_url="gallery/get/"+title_url;
|
|
629
627
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
630
628
|
};
|
|
631
|
-
static get_page = (biz9_config,title_url,params) => {
|
|
632
|
-
let action_url="gallery/get_page/"+title_url;
|
|
633
|
-
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
634
|
-
};
|
|
635
|
-
}
|
|
636
|
-
class Blog_Post_Url {
|
|
637
|
-
static get = (biz9_config,title_url,params) => {
|
|
638
|
-
let action_url="blog_post/get/"+title_url;
|
|
639
|
-
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
640
|
-
};
|
|
641
|
-
static get_page = (biz9_config,title_url,params) => {
|
|
642
|
-
let action_url="blog_post/get_page/"+title_url;
|
|
643
|
-
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
644
|
-
};
|
|
645
629
|
}
|
|
646
630
|
class Category_Url {
|
|
647
|
-
static
|
|
648
|
-
let action_url="category/
|
|
649
|
-
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
650
|
-
};
|
|
651
|
-
static get_page = (biz9_config,title_url,params) => {
|
|
652
|
-
let action_url="category/get_page/"+title_url;
|
|
631
|
+
static get = (biz9_config,title_url,params) => {
|
|
632
|
+
let action_url="category/get/"+title_url;
|
|
653
633
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
654
634
|
};
|
|
655
635
|
}
|