szld-libs 0.2.88 → 0.2.89

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 @@ import { AxiosResponse } from 'axios';
6
6
  * @param interfaceType 接口类型,默认值为'YLFWLRDataDetails'
7
7
  * @returns 属性集详情 {attrid_attrtype: attrvalue} 格式的数据
8
8
  */
9
- export declare const handleGetArrtDetail: (params: any, commonRequest: (InterfaceType: string, data?: any) => Promise<AxiosResponse<any, any>>, interfaceType?: string) => Promise<any>;
9
+ export declare const handleGetAttrDetail: (params: any, commonRequest: (InterfaceType: string, data?: any) => Promise<AxiosResponse<any, any>>, interfaceType?: string) => Promise<any>;
10
10
  /**
11
11
  * 单层详情数据对应到单个属性集
12
12
  * @param attrList 属性集列表
@@ -1,4 +1,4 @@
1
- const handleGetArrtDetail = async (params, commonRequest, interfaceType) => {
1
+ const handleGetAttrDetail = async (params, commonRequest, interfaceType) => {
2
2
  var _a;
3
3
  try {
4
4
  const res = await commonRequest(interfaceType || "YLFWLRDataDetails", params);
@@ -16,6 +16,6 @@ const handleObjDetailToSignleAttrList = (attrList, detail) => {
16
16
  }));
17
17
  };
18
18
  export {
19
- handleGetArrtDetail,
19
+ handleGetAttrDetail,
20
20
  handleObjDetailToSignleAttrList
21
21
  };
@@ -6,7 +6,7 @@ import { AxiosResponse } from 'axios';
6
6
  * @param interfaceType 接口类型,默认值为'YLFWLRDataDetails'
7
7
  * @returns 属性集详情 {attrid_attrtype: attrvalue} 格式的数据
8
8
  */
9
- export declare const handleGetArrtDetail: (params: any, commonRequest: (InterfaceType: string, data?: any) => Promise<AxiosResponse<any, any>>, interfaceType?: string) => Promise<any>;
9
+ export declare const handleGetAttrDetail: (params: any, commonRequest: (InterfaceType: string, data?: any) => Promise<AxiosResponse<any, any>>, interfaceType?: string) => Promise<any>;
10
10
  /**
11
11
  * 单层详情数据对应到单个属性集
12
12
  * @param attrList 属性集列表
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const handleGetArrtDetail = async (params, commonRequest, interfaceType) => {
3
+ const handleGetAttrDetail = async (params, commonRequest, interfaceType) => {
4
4
  var _a;
5
5
  try {
6
6
  const res = await commonRequest(interfaceType || "YLFWLRDataDetails", params);
@@ -17,5 +17,5 @@ const handleObjDetailToSignleAttrList = (attrList, detail) => {
17
17
  attrvalue: detail[item.attrid] || ""
18
18
  }));
19
19
  };
20
- exports.handleGetArrtDetail = handleGetArrtDetail;
20
+ exports.handleGetAttrDetail = handleGetAttrDetail;
21
21
  exports.handleObjDetailToSignleAttrList = handleObjDetailToSignleAttrList;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.2.88",
4
+ "version": "0.2.89",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",