@itutoring/itutoring_application_js_api 1.13.7 → 1.14.0

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.
@@ -20,6 +20,17 @@ class MarketplaceController
20
20
  static #GET_PRODUCT_PAGE = "GetProductPage";
21
21
  static #GET_ORDER_DETAIL = "GetOrderDetail";
22
22
  static #GET_INQUIRY_ACCEPT_PAGE = "GetInquiryAcceptPage";
23
+ static #GET_LECTURE_PACKAGE_SELECT_PAGE = "GetLecturePackageSelectPage";
24
+
25
+ static async getLecturePackageSelectPage(len = null, type = null, count = null)
26
+ {
27
+ var res = await APIController.Get(this.#MODULE, this.#GET_LECTURE_PACKAGE_SELECT_PAGE, {
28
+ 'len': len,
29
+ 'type': type,
30
+ 'count': count
31
+ });
32
+ return JSON.parse(res);
33
+ }
23
34
 
24
35
  static async getOrderPage(orderId)
25
36
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.13.7",
3
+ "version": "1.14.0",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",