@freelog/tools-lib 0.1.160 → 0.1.161

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.
@@ -124,7 +124,7 @@ var RESOURCE_NAME = /*#__PURE__*/new RegExp(/^(?!.*(\\|\/|:|\*|\?|"|<|>|\||\s|@|
124
124
  var RESOURCE_TYPE = /*#__PURE__*/new RegExp("^[\u4E00-\u9FEFa-zA-Z0-9\\-&.,]{1,40}$"); // 自定义属性键
125
125
  // export const CUSTOM_KEY: RegExp = new RegExp(/^[a-zA-Z_]([a-zA-Z0-9_]{1,19})?$/);
126
126
 
127
- var CUSTOM_KEY = /*#__PURE__*/new RegExp('^[a-zA-Z]([a-zA-Z0-9_]{1,19})?$'); // 节点名称
127
+ var CUSTOM_KEY = /*#__PURE__*/new RegExp('^[a-zA-Z]([a-zA-Z0-9_]{1,29})?$'); // 节点名称
128
128
 
129
129
  var NODE_NAME = /*#__PURE__*/new RegExp(/^[\u4E00-\u9FA5|a-zA-Z0-9]{2,24}$/); // 节点地址
130
130
  // export const NODE_DOMAIN: RegExp = new RegExp(/^(?!-)[a-z0-9-]{4,24}(?<!-)$/);
@@ -729,8 +729,11 @@ function nodeManagement(_ref20) {
729
729
  }, params));
730
730
  }
731
731
  function exhibitManagement(_ref21) {
732
- var exhibitID = _ref21.exhibitID;
733
- return "/node/exhibit/formal/" + exhibitID;
732
+ var exhibitID = _ref21.exhibitID,
733
+ openAuthDrawer = _ref21.openAuthDrawer;
734
+ return "/node/exhibit/formal/" + exhibitID + handleQuery({
735
+ openAuthDrawer: openAuthDrawer
736
+ });
734
737
  }
735
738
  function informNodeManagement(_ref22) {
736
739
  var nodeID = _ref22.nodeID,
@@ -1058,6 +1061,13 @@ function nodes(params) {
1058
1061
  params: params
1059
1062
  });
1060
1063
  }
1064
+ function searchForClient(params) {
1065
+ return FUtil.Request({
1066
+ method: 'GET',
1067
+ url: "/v2/nodes/searchForClient",
1068
+ params: params
1069
+ });
1070
+ }
1061
1071
  function setNodeInfo(params) {
1062
1072
  return FUtil.Request({
1063
1073
  method: 'POST',
@@ -1071,6 +1081,7 @@ var Node = {
1071
1081
  create: create,
1072
1082
  details: details,
1073
1083
  nodes: nodes,
1084
+ searchForClient: searchForClient,
1074
1085
  setNodeInfo: setNodeInfo
1075
1086
  };
1076
1087
 
@@ -1085,7 +1096,6 @@ var _excluded$1 = ["presentableId"],
1085
1096
  _excluded9 = ["nodeId"],
1086
1097
  _excluded10 = ["nodeId"];
1087
1098
  function createPresentable(params) {
1088
- // return FUtil.Axios.post(`/v2/presentables`, params);
1089
1099
  return FUtil.Request({
1090
1100
  method: 'POST',
1091
1101
  url: "/v2/presentables",
@@ -1096,7 +1106,6 @@ function updatePresentable(_ref) {
1096
1106
  var presentableId = _ref.presentableId,
1097
1107
  params = _objectWithoutPropertiesLoose(_ref, _excluded$1);
1098
1108
 
1099
- // return FUtil.Axios.put(`/v2/presentables/${presentableId}`, params);
1100
1109
  return FUtil.Request({
1101
1110
  method: 'PUT',
1102
1111
  url: "/v2/presentables/" + presentableId,
@@ -1107,7 +1116,6 @@ function presentablesOnlineStatus(_ref2) {
1107
1116
  var presentableId = _ref2.presentableId,
1108
1117
  params = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
1109
1118
 
1110
- // return FUtil.Axios.put(`/v2/presentables/${presentableId}/onlineStatus`, params);
1111
1119
  return FUtil.Request({
1112
1120
  method: 'PUT',
1113
1121
  url: "/v2/presentables/" + presentableId + "/onlineStatus",
@@ -1116,9 +1124,6 @@ function presentablesOnlineStatus(_ref2) {
1116
1124
  }
1117
1125
  function presentableDetails(params) {
1118
1126
  if (params.nodeId) {
1119
- // return FUtil.Axios.get(`/v2/presentables/detail`, {
1120
- // params,
1121
- // });
1122
1127
  return FUtil.Request({
1123
1128
  method: 'GET',
1124
1129
  url: "/v2/presentables/detail",
@@ -1127,10 +1132,7 @@ function presentableDetails(params) {
1127
1132
  }
1128
1133
 
1129
1134
  var presentableId = params.presentableId,
1130
- p = _objectWithoutPropertiesLoose(params, _excluded3$1); // return FUtil.Axios.get(`/v2/presentables/${presentableId}`, {
1131
- // params: p,
1132
- // });
1133
-
1135
+ p = _objectWithoutPropertiesLoose(params, _excluded3$1);
1134
1136
 
1135
1137
  return FUtil.Request({
1136
1138
  method: 'GET',
@@ -1156,7 +1158,6 @@ function dependencyTree(_ref3) {
1156
1158
  var presentableId = _ref3.presentableId,
1157
1159
  params = _objectWithoutPropertiesLoose(_ref3, _excluded4$1);
1158
1160
 
1159
- // return FUtil.Axios.get(`/v2/presentables/${presentableId}/dependencyTree`, {params});
1160
1161
  return FUtil.Request({
1161
1162
  method: 'GET',
1162
1163
  url: "/v2/presentables/" + presentableId + "/dependencyTree",
@@ -1167,7 +1168,6 @@ function relationTree(_ref4) {
1167
1168
  var presentableId = _ref4.presentableId,
1168
1169
  params = _objectWithoutPropertiesLoose(_ref4, _excluded5$1);
1169
1170
 
1170
- // return FUtil.Axios.get(`/v2/presentables/${presentableId}/relationTree`, {params});
1171
1171
  return FUtil.Request({
1172
1172
  method: 'GET',
1173
1173
  url: "/v2/presentables/" + presentableId + "/relationTree",
@@ -1178,7 +1178,6 @@ function authTree(_ref5) {
1178
1178
  var presentableId = _ref5.presentableId,
1179
1179
  params = _objectWithoutPropertiesLoose(_ref5, _excluded6$1);
1180
1180
 
1181
- // return FUtil.Axios.get(`/v2/presentables/${presentableId}/authTree`, {params});
1182
1181
  return FUtil.Request({
1183
1182
  method: 'GET',
1184
1183
  url: "/v2/presentables/" + presentableId + "/authTree",
@@ -1189,7 +1188,6 @@ function presentablesVersion(_ref6) {
1189
1188
  var presentableId = _ref6.presentableId,
1190
1189
  params = _objectWithoutPropertiesLoose(_ref6, _excluded7);
1191
1190
 
1192
- // return FUtil.Axios.put(`/v2/presentables/${presentableId}/version`, params);
1193
1191
  return FUtil.Request({
1194
1192
  method: 'PUT',
1195
1193
  url: "/v2/presentables/" + presentableId + "/version",
@@ -1200,7 +1198,6 @@ function updateRewriteProperty(_ref7) {
1200
1198
  var presentableId = _ref7.presentableId,
1201
1199
  params = _objectWithoutPropertiesLoose(_ref7, _excluded8);
1202
1200
 
1203
- // return FUtil.Axios.put(`/v2/presentables/${presentableId}/rewriteProperty`, params);
1204
1201
  return FUtil.Request({
1205
1202
  method: 'PUT',
1206
1203
  url: "/v2/presentables/" + presentableId + "/rewriteProperty",
@@ -1211,9 +1208,6 @@ function batchAuth(_ref8) {
1211
1208
  var nodeId = _ref8.nodeId,
1212
1209
  params = _objectWithoutPropertiesLoose(_ref8, _excluded9);
1213
1210
 
1214
- // return FUtil.Axios.get(`/v2/auths/presentables/nodes/${nodeId}/batchAuth/result`, {
1215
- // params,
1216
- // });
1217
1211
  return FUtil.Request({
1218
1212
  method: 'GET',
1219
1213
  url: "/v2/auths/presentables/nodes/" + nodeId + "/batchAuth/result",
@@ -1224,15 +1218,37 @@ function contractAppliedPresentable(_ref9) {
1224
1218
  var nodeId = _ref9.nodeId,
1225
1219
  params = _objectWithoutPropertiesLoose(_ref9, _excluded10);
1226
1220
 
1227
- // return FUtil.Axios.get(`/v2/presentables/${nodeId}/contractAppliedPresentable`, {
1228
- // params,
1229
- // });
1230
1221
  return FUtil.Request({
1231
1222
  method: 'GET',
1232
1223
  url: "/v2/presentables/" + nodeId + "/contractAppliedPresentable",
1233
1224
  params: params
1234
1225
  });
1235
1226
  }
1227
+ function batchCreatePresentable(params) {
1228
+ return FUtil.Request({
1229
+ method: 'POST',
1230
+ url: "/v2/presentables/createPresentableBatchEasy",
1231
+ data: params
1232
+ });
1233
+ }
1234
+ function batchUpdatePresentable(_ref10) {
1235
+ var params = _extends({}, _ref10);
1236
+
1237
+ return FUtil.Request({
1238
+ method: 'PUT',
1239
+ url: "/v2/presentables/updatePresentableBatch",
1240
+ data: params
1241
+ });
1242
+ }
1243
+ function batchUpdatePresentableStatus(_ref11) {
1244
+ var params = _extends({}, _ref11);
1245
+
1246
+ return FUtil.Request({
1247
+ method: 'PUT',
1248
+ url: "/v2/presentables/updatePresentableOnlineStatusBatch",
1249
+ data: params
1250
+ });
1251
+ }
1236
1252
 
1237
1253
  var Exhibit = {
1238
1254
  __proto__: null,
@@ -1248,7 +1264,10 @@ var Exhibit = {
1248
1264
  presentablesVersion: presentablesVersion,
1249
1265
  updateRewriteProperty: updateRewriteProperty,
1250
1266
  batchAuth: batchAuth,
1251
- contractAppliedPresentable: contractAppliedPresentable
1267
+ contractAppliedPresentable: contractAppliedPresentable,
1268
+ batchCreatePresentable: batchCreatePresentable,
1269
+ batchUpdatePresentable: batchUpdatePresentable,
1270
+ batchUpdatePresentableStatus: batchUpdatePresentableStatus
1252
1271
  };
1253
1272
 
1254
1273
  var _excluded$2 = ["bucketName"],
@@ -1428,6 +1447,13 @@ function handleImage(params) {
1428
1447
  data: params
1429
1448
  });
1430
1449
  }
1450
+ function generateCoverImage(params) {
1451
+ return FUtil.Request({
1452
+ method: 'POST',
1453
+ url: "/v2/storages/files/generateCoverImage",
1454
+ data: params
1455
+ });
1456
+ }
1431
1457
  function updateObject(_ref5) {
1432
1458
  var objectIdOrName = _ref5.objectIdOrName,
1433
1459
  params = _objectWithoutPropertiesLoose(_ref5, _excluded3$2);
@@ -1511,6 +1537,7 @@ var Storage = {
1511
1537
  uploadFile: uploadFile,
1512
1538
  uploadImage: uploadImage,
1513
1539
  handleImage: handleImage,
1540
+ generateCoverImage: generateCoverImage,
1514
1541
  updateObject: updateObject,
1515
1542
  batchUpdateObject: batchUpdateObject,
1516
1543
  batchObjectList: batchObjectList,
@@ -1687,22 +1714,28 @@ function resourceVersionInfo2(params) {
1687
1714
  params: params
1688
1715
  });
1689
1716
  }
1690
- function getResourceVersionBySha1(_ref6) {
1691
- var fileSha1 = _ref6.fileSha1,
1692
- params = _objectWithoutPropertiesLoose(_ref6, _excluded6$2);
1717
+ function getVersionList(_ref6) {
1718
+ var params = _extends({}, _ref6);
1693
1719
 
1694
- // return FUtil.Axios.get(`/v2/resources/files/${fileSha1}/versions`, {
1695
- // params,
1696
- // });
1697
1720
  return FUtil.Request({
1698
1721
  method: 'GET',
1699
- url: "/v2/resources/files/" + fileSha1 + "/versions",
1722
+ url: "/v2/resources/versions/list",
1700
1723
  params: params
1701
1724
  });
1702
1725
  }
1703
- function getResourceBySha1(_ref7) {
1726
+ function getResourceVersionBySha1(_ref7) {
1704
1727
  var fileSha1 = _ref7.fileSha1,
1705
- params = _objectWithoutPropertiesLoose(_ref7, _excluded7$1);
1728
+ params = _objectWithoutPropertiesLoose(_ref7, _excluded6$2);
1729
+
1730
+ return FUtil.Request({
1731
+ method: 'GET',
1732
+ url: "/v2/resources/files/" + fileSha1 + "/versions",
1733
+ params: params
1734
+ });
1735
+ }
1736
+ function getResourceBySha1(_ref8) {
1737
+ var fileSha1 = _ref8.fileSha1,
1738
+ params = _objectWithoutPropertiesLoose(_ref8, _excluded7$1);
1706
1739
 
1707
1740
  // return FUtil.Axios.get(`/v2/resources/files/${fileSha1}`, {
1708
1741
  // params,
@@ -1737,6 +1770,14 @@ function lookDraft(params) {
1737
1770
  params: params
1738
1771
  });
1739
1772
  }
1773
+ function deleteResourceDraft(_ref9) {
1774
+ var resourceId = _ref9.resourceId;
1775
+ // return FUtil.Axios.post(`/v2/resources/${params.resourceId}/versions/drafts`, params);
1776
+ return FUtil.Request({
1777
+ method: 'DELETE',
1778
+ url: "/v2/resources/" + resourceId + "/versions/drafts"
1779
+ });
1780
+ }
1740
1781
  function resourceIsUsedByOther(params) {
1741
1782
  // return FUtil.Axios.get(`/v2/resources/versions/isCanBeCreate`, {
1742
1783
  // params,
@@ -1752,9 +1793,9 @@ function resourcesDownload(params) {
1752
1793
  // responseType: 'arraybuffer',
1753
1794
  // });
1754
1795
  }
1755
- function batchGetCoverageVersions(_ref8) {
1756
- var resourceId = _ref8.resourceId,
1757
- params = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
1796
+ function batchGetCoverageVersions(_ref10) {
1797
+ var resourceId = _ref10.resourceId,
1798
+ params = _objectWithoutPropertiesLoose(_ref10, _excluded8$1);
1758
1799
 
1759
1800
  // return FUtil.Axios.get(`/v2/resources/${resourceId}/contracts/coverageVersions`, {
1760
1801
  // params,
@@ -1772,9 +1813,9 @@ function resolveResources(params) {
1772
1813
  url: "/v2/resources/" + params.resourceId + "/resolveResources"
1773
1814
  });
1774
1815
  }
1775
- function batchSetContracts(_ref9) {
1776
- var resourceId = _ref9.resourceId,
1777
- params = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
1816
+ function batchSetContracts(_ref11) {
1817
+ var resourceId = _ref11.resourceId,
1818
+ params = _objectWithoutPropertiesLoose(_ref11, _excluded9$1);
1778
1819
 
1779
1820
  // return FUtil.Axios.put(`/v2/resources/${resourceId}/versions/batchSetContracts`, params);
1780
1821
  return FUtil.Request({
@@ -1783,9 +1824,9 @@ function batchSetContracts(_ref9) {
1783
1824
  data: params
1784
1825
  });
1785
1826
  }
1786
- function cycleDependencyCheck$1(_ref10) {
1787
- var resourceId = _ref10.resourceId,
1788
- params = _objectWithoutPropertiesLoose(_ref10, _excluded10$1);
1827
+ function cycleDependencyCheck$1(_ref12) {
1828
+ var resourceId = _ref12.resourceId,
1829
+ params = _objectWithoutPropertiesLoose(_ref12, _excluded10$1);
1789
1830
 
1790
1831
  // return FUtil.Axios.post(`/v2/resources/${resourceId}/versions/cycleDependencyCheck`, params);
1791
1832
  return FUtil.Request({
@@ -1794,9 +1835,9 @@ function cycleDependencyCheck$1(_ref10) {
1794
1835
  data: params
1795
1836
  });
1796
1837
  }
1797
- function relationTree$1(_ref11) {
1798
- var resourceId = _ref11.resourceId,
1799
- params = _objectWithoutPropertiesLoose(_ref11, _excluded11);
1838
+ function relationTree$1(_ref13) {
1839
+ var resourceId = _ref13.resourceId,
1840
+ params = _objectWithoutPropertiesLoose(_ref13, _excluded11);
1800
1841
 
1801
1842
  // return FUtil.Axios.get(`/v2/resources/${resourceId}/relationTree`, {
1802
1843
  // params,
@@ -1807,9 +1848,9 @@ function relationTree$1(_ref11) {
1807
1848
  params: params
1808
1849
  });
1809
1850
  }
1810
- function relationTreeAuth(_ref12) {
1811
- var resourceId = _ref12.resourceId,
1812
- params = _objectWithoutPropertiesLoose(_ref12, _excluded12);
1851
+ function relationTreeAuth(_ref14) {
1852
+ var resourceId = _ref14.resourceId,
1853
+ params = _objectWithoutPropertiesLoose(_ref14, _excluded12);
1813
1854
 
1814
1855
  return FUtil.Request({
1815
1856
  method: 'GET',
@@ -1817,8 +1858,8 @@ function relationTreeAuth(_ref12) {
1817
1858
  params: params
1818
1859
  });
1819
1860
  }
1820
- function resourcesCount(_ref13) {
1821
- var params = _extends({}, _ref13);
1861
+ function resourcesCount(_ref15) {
1862
+ var params = _extends({}, _ref15);
1822
1863
 
1823
1864
  return FUtil.Request({
1824
1865
  method: 'GET',
@@ -1826,8 +1867,8 @@ function resourcesCount(_ref13) {
1826
1867
  params: params
1827
1868
  });
1828
1869
  }
1829
- function batchAuth$1(_ref14) {
1830
- var params = _extends({}, _ref14);
1870
+ function batchAuth$1(_ref16) {
1871
+ var params = _extends({}, _ref16);
1831
1872
 
1832
1873
  return FUtil.Request({
1833
1874
  method: 'GET',
@@ -1835,8 +1876,8 @@ function batchAuth$1(_ref14) {
1835
1876
  params: params
1836
1877
  });
1837
1878
  }
1838
- function resourcesRecommend(_ref15) {
1839
- var params = _extends({}, _ref15);
1879
+ function resourcesRecommend(_ref17) {
1880
+ var params = _extends({}, _ref17);
1840
1881
 
1841
1882
  return FUtil.Request({
1842
1883
  method: 'GET',
@@ -1844,8 +1885,8 @@ function resourcesRecommend(_ref15) {
1844
1885
  params: params
1845
1886
  });
1846
1887
  }
1847
- function availableTags(_ref16) {
1848
- var params = _extends({}, _ref16);
1888
+ function availableTags(_ref18) {
1889
+ var params = _extends({}, _ref18);
1849
1890
 
1850
1891
  return FUtil.Request({
1851
1892
  method: 'GET',
@@ -1854,8 +1895,8 @@ function availableTags(_ref16) {
1854
1895
  });
1855
1896
  }
1856
1897
  function resourceTypes$1(_temp) {
1857
- var _ref17 = _temp === void 0 ? {} : _temp,
1858
- params = _extends({}, _ref17);
1898
+ var _ref19 = _temp === void 0 ? {} : _temp,
1899
+ params = _extends({}, _ref19);
1859
1900
 
1860
1901
  return FUtil.Request({
1861
1902
  method: 'GET',
@@ -1863,8 +1904,8 @@ function resourceTypes$1(_temp) {
1863
1904
  params: params
1864
1905
  });
1865
1906
  }
1866
- function ListSimpleByParentCode(_ref18) {
1867
- var params = _extends({}, _ref18);
1907
+ function ListSimpleByParentCode(_ref20) {
1908
+ var params = _extends({}, _ref20);
1868
1909
 
1869
1910
  return FUtil.Request({
1870
1911
  method: 'GET',
@@ -1872,8 +1913,8 @@ function ListSimpleByParentCode(_ref18) {
1872
1913
  params: params
1873
1914
  });
1874
1915
  }
1875
- function getResourceTypeInfoByCode(_ref19) {
1876
- var params = _extends({}, _ref19);
1916
+ function getResourceTypeInfoByCode(_ref21) {
1917
+ var params = _extends({}, _ref21);
1877
1918
 
1878
1919
  return FUtil.Request({
1879
1920
  method: 'GET',
@@ -1881,8 +1922,8 @@ function getResourceTypeInfoByCode(_ref19) {
1881
1922
  params: params
1882
1923
  });
1883
1924
  }
1884
- function getResourceAttrListSimple(_ref20) {
1885
- var params = _extends({}, _ref20);
1925
+ function getResourceAttrListSimple(_ref22) {
1926
+ var params = _extends({}, _ref22);
1886
1927
 
1887
1928
  return FUtil.Request({
1888
1929
  method: 'GET',
@@ -1891,8 +1932,8 @@ function getResourceAttrListSimple(_ref20) {
1891
1932
  });
1892
1933
  }
1893
1934
  function listSimple4Recently(_temp2) {
1894
- var _ref21 = _temp2 === void 0 ? {} : _temp2,
1895
- params = _extends({}, _ref21);
1935
+ var _ref23 = _temp2 === void 0 ? {} : _temp2,
1936
+ params = _extends({}, _ref23);
1896
1937
 
1897
1938
  return FUtil.Request({
1898
1939
  method: 'GET',
@@ -1900,8 +1941,8 @@ function listSimple4Recently(_temp2) {
1900
1941
  params: params
1901
1942
  });
1902
1943
  }
1903
- function getAttrsInfoByKey(_ref22) {
1904
- var params = _extends({}, _ref22);
1944
+ function getAttrsInfoByKey(_ref24) {
1945
+ var params = _extends({}, _ref24);
1905
1946
 
1906
1947
  return FUtil.Request({
1907
1948
  method: 'GET',
@@ -1909,8 +1950,8 @@ function getAttrsInfoByKey(_ref22) {
1909
1950
  params: params
1910
1951
  });
1911
1952
  }
1912
- function generateResourceNames(_ref23) {
1913
- var data = _ref23.data;
1953
+ function generateResourceNames(_ref25) {
1954
+ var data = _ref25.data;
1914
1955
  return FUtil.Request({
1915
1956
  method: 'POST',
1916
1957
  url: "/v2/resources/generateResourceNames",
@@ -1932,11 +1973,13 @@ var Resource = {
1932
1973
  createVersion: createVersion,
1933
1974
  resourceVersionInfo1: resourceVersionInfo1,
1934
1975
  resourceVersionInfo2: resourceVersionInfo2,
1976
+ getVersionList: getVersionList,
1935
1977
  getResourceVersionBySha1: getResourceVersionBySha1,
1936
1978
  getResourceBySha1: getResourceBySha1,
1937
1979
  updateResourceVersionInfo: updateResourceVersionInfo,
1938
1980
  saveVersionsDraft: saveVersionsDraft,
1939
1981
  lookDraft: lookDraft,
1982
+ deleteResourceDraft: deleteResourceDraft,
1940
1983
  resourceIsUsedByOther: resourceIsUsedByOther,
1941
1984
  resourcesDownload: resourcesDownload,
1942
1985
  batchGetCoverageVersions: batchGetCoverageVersions,
@@ -2708,6 +2751,20 @@ function statisticRewardRecords(params) {
2708
2751
  data: params
2709
2752
  });
2710
2753
  }
2754
+ function statisticTaskRecords(params) {
2755
+ return FUtil.Request({
2756
+ method: 'POST',
2757
+ url: "/v2/activities/facade/statisticTaskRecords",
2758
+ data: params
2759
+ });
2760
+ }
2761
+ function statisticSingleRewardRecordForAll(params) {
2762
+ return FUtil.Request({
2763
+ method: 'POST',
2764
+ url: "/v2/activities/facade/statisticSingleRewardRecordForAll",
2765
+ data: params
2766
+ });
2767
+ }
2711
2768
 
2712
2769
  var Activity = {
2713
2770
  __proto__: null,
@@ -2731,7 +2788,9 @@ var Activity = {
2731
2788
  listInviteFriendInfos: listInviteFriendInfos,
2732
2789
  getRewardRecordInfos: getRewardRecordInfos,
2733
2790
  listRewardRecordInfos: listRewardRecordInfos,
2734
- statisticRewardRecords: statisticRewardRecords
2791
+ statisticRewardRecords: statisticRewardRecords,
2792
+ statisticTaskRecords: statisticTaskRecords,
2793
+ statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll
2735
2794
  };
2736
2795
 
2737
2796
  var _excluded$9 = ["recordId"];
@@ -3376,7 +3435,7 @@ function _request() {
3376
3435
  case 3:
3377
3436
  result = _context.sent;
3378
3437
 
3379
- if (!(result.ret === 0 && result.errCode === 30 && !noRedirect)) {
3438
+ if (!(result.errCode === 30 && !noRedirect)) {
3380
3439
  _context.next = 10;
3381
3440
  break;
3382
3441
  }