@pisell/pisellos 2.1.7 → 2.1.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.
@@ -406,9 +406,8 @@ export var WalletPassPaymentImpl = /*#__PURE__*/function () {
406
406
  });
407
407
 
408
408
  // 检查识别码是否为9位且前3位为"000"
409
- // const isWalletCode = code.length === 9 && code.startsWith('000');
410
- // 测试环境先使用 WL
411
- isWalletCode = code.startsWith('WL');
409
+ isWalletCode = code.length === 9 && code.startsWith('000'); // 测试环境先使用 WL
410
+ // const isWalletCode = code.startsWith('WL');
412
411
  if (!isWalletCode) {
413
412
  _context5.next = 14;
414
413
  break;
@@ -111,7 +111,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
111
111
  * 获取当前的客户搜索条件
112
112
  * @returns 当前搜索条件
113
113
  */
114
- getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
114
+ getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
115
115
  /**
116
116
  * 获取客户列表状态(包含滚动加载相关状态)
117
117
  * @returns 客户状态
@@ -268,7 +268,7 @@ var WalletPassPaymentImpl = class {
268
268
  code_length: code.length,
269
269
  noCache: config.noCache || false
270
270
  });
271
- const isWalletCode = code.startsWith("WL");
271
+ const isWalletCode = code.length === 9 && code.startsWith("000");
272
272
  if (isWalletCode) {
273
273
  const walletDetailParams = {
274
274
  code,
@@ -111,7 +111,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
111
111
  * 获取当前的客户搜索条件
112
112
  * @returns 当前搜索条件
113
113
  */
114
- getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
114
+ getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
115
115
  /**
116
116
  * 获取客户列表状态(包含滚动加载相关状态)
117
117
  * @returns 客户状态
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.1.7",
4
+ "version": "2.1.8",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",