@freelog/tools-lib 0.1.111 → 0.1.112

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.
@@ -2115,7 +2115,7 @@ function resourcesRecommend(_ref14) {
2115
2115
 
2116
2116
  return FUtil.Request({
2117
2117
  method: 'GET',
2118
- url: "/v2/resources/recommend?recommendType=2",
2118
+ url: "/v2/resources/recommend",
2119
2119
  params: params
2120
2120
  });
2121
2121
  }
@@ -2916,12 +2916,13 @@ function _getFilesSha1Info() {
2916
2916
 
2917
2917
  case 6:
2918
2918
 
2919
- _context.next = 9;
2919
+ console.log(needHandleSha1.join(','), 'needHandleSha1.join()90ojlskdfjsdlk');
2920
+ _context.next = 10;
2920
2921
  return filesListInfo({
2921
- sha1: needHandleSha1
2922
+ sha1: needHandleSha1.join(',')
2922
2923
  });
2923
2924
 
2924
- case 9:
2925
+ case 10:
2925
2926
  _yield$Storage$filesL = _context.sent;
2926
2927
  data = _yield$Storage$filesL.data;
2927
2928
  needHandleSha1 = data.filter(function (d) {
@@ -2950,24 +2951,24 @@ function _getFilesSha1Info() {
2950
2951
  allData = [].concat(allData, finishedInfo);
2951
2952
 
2952
2953
  if (!(needHandleSha1.length === 0)) {
2953
- _context.next = 17;
2954
+ _context.next = 18;
2954
2955
  break;
2955
2956
  }
2956
2957
 
2957
- return _context.abrupt("break", 21);
2958
+ return _context.abrupt("break", 22);
2958
2959
 
2959
- case 17:
2960
- _context.next = 19;
2960
+ case 18:
2961
+ _context.next = 20;
2961
2962
  return promiseSleep(3000);
2962
2963
 
2963
- case 19:
2964
+ case 20:
2964
2965
  _context.next = 6;
2965
2966
  break;
2966
2967
 
2967
- case 21:
2968
+ case 22:
2968
2969
  return _context.abrupt("return", allData);
2969
2970
 
2970
- case 22:
2971
+ case 23:
2971
2972
  case "end":
2972
2973
  return _context.stop();
2973
2974
  }