jmash-core-mp 0.1.78 → 0.1.80

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.
@@ -0,0 +1 @@
1
+ export {};
package/lib/index.d.ts CHANGED
@@ -23,6 +23,6 @@ export { storageApi } from "./api/storage";
23
23
  export { shopApi } from "./api/shop";
24
24
  export { net } from "./utils/net";
25
25
  export { share } from "./utils/share";
26
- export { getHeight, formatDateTime, validateRules, validateRequired, } from "./utils/common";
26
+ export { getHeight, formatDateTime, validateRules, validateRequired, hasCategoryFeature, } from "./utils/common";
27
27
  import * as dayjs from "dayjs";
28
28
  export { dayjs };
package/lib/index.js CHANGED
@@ -16,7 +16,7 @@ export { storageApi } from "./api/storage";
16
16
  export { shopApi } from "./api/shop";
17
17
  export { net } from "./utils/net";
18
18
  export { share } from "./utils/share";
19
- export { getHeight, formatDateTime, validateRules, validateRequired, } from "./utils/common";
19
+ export { getHeight, formatDateTime, validateRules, validateRequired, hasCategoryFeature, } from "./utils/common";
20
20
  import * as dayjsLocaleZhCn from "dayjs/locale/zh-cn";
21
21
  import * as dayjs from "dayjs";
22
22
  dayjs.locale(dayjsLocaleZhCn);
@@ -172,7 +172,12 @@ export function hasCategoryFeature(dictCode, feature) {
172
172
  }
173
173
  // 商家分类功能配置:功能名 -> 分类code关键词列表
174
174
  export const categoryFeatures = {
175
- // AI换发型 - 0504美容美发
176
- aiHairstyle: ["0504"],
177
- // - 0502洗车保养- 0503足疗/按摩- 0506鲜花/园艺
175
+ // 0502洗车保养
176
+ serveCar: ["0502"],
177
+ // 0503足疗/按摩
178
+ serveFoot: ["0503"],
179
+ // 0504美容美发
180
+ serveHair: ["0504"],
181
+ // 0506鲜花/园艺
182
+ serveFlower: ["0506"],
178
183
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core-mp",
3
- "version": "0.1.78",
3
+ "version": "0.1.80",
4
4
  "private": false,
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
package/src/index.ts CHANGED
@@ -86,6 +86,7 @@ export {
86
86
  formatDateTime,
87
87
  validateRules,
88
88
  validateRequired,
89
+ hasCategoryFeature,
89
90
  } from "./utils/common";
90
91
 
91
92
  import * as dayjsLocaleZhCn from "dayjs/locale/zh-cn";