@be-link/ecommerce-product-service-node-sdk 0.0.26 → 0.0.28

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.
@@ -6,7 +6,7 @@ export default abstract class BaseService {
6
6
  /** URL一级路径 */
7
7
  protected abstract prefixUrl: string;
8
8
  /** 子网域名 */
9
- protected readonly natDevHost = "http://yayvmsbg.product-service.07vmo6rk.by26x7u9.com:8090";
9
+ protected readonly natDevHost = "https://product-service-196345-5-1304510571.sh.run.tcloudbase.com:8090";
10
10
  protected readonly natProdHost = "";
11
11
  /** 获取API URL */
12
12
  protected getApiUrl(func: Function): string;
@@ -12,7 +12,8 @@ const string_1 = require("../utils/string");
12
12
  class BaseService {
13
13
  constructor() {
14
14
  /** 子网域名 */
15
- this.natDevHost = 'http://yayvmsbg.product-service.07vmo6rk.by26x7u9.com:8090';
15
+ // protected readonly natDevHost = 'http://yayvmsbg.product-service.07vmo6rk.by26x7u9.com:8090'
16
+ this.natDevHost = 'https://product-service-196345-5-1304510571.sh.run.tcloudbase.com:8090';
16
17
  this.natProdHost = '';
17
18
  }
18
19
  /** 获取API URL */
@@ -362,6 +362,8 @@ export declare namespace ProductService {
362
362
  stock: number;
363
363
  /** 上下架状态 */
364
364
  status: string;
365
+ /** 限购 */
366
+ purchaseLimit: number;
365
367
  }[];
366
368
  }
367
369
  interface queryProductSkuList {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-product-service-node-sdk",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "EcommerceProductService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",