@freelog/tools-lib 0.1.113 → 0.1.114

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.
@@ -2187,6 +2187,13 @@ function currentUserInfo() {
2187
2187
  url: '/v2/users/current'
2188
2188
  });
2189
2189
  }
2190
+ function users(params) {
2191
+ return FUtil.Request({
2192
+ method: 'GET',
2193
+ url: "/v2/users",
2194
+ params: params
2195
+ });
2196
+ }
2190
2197
  function userDetails(params) {
2191
2198
  return FUtil.Request({
2192
2199
  method: 'GET',
@@ -2302,6 +2309,7 @@ var User = {
2302
2309
  login: login$1,
2303
2310
  logout: logout,
2304
2311
  currentUserInfo: currentUserInfo,
2312
+ users: users,
2305
2313
  userDetails: userDetails,
2306
2314
  logon: logon$1,
2307
2315
  resetPassword: resetPassword,
@@ -2889,7 +2897,7 @@ function getFilesSha1Info(_x, _x2) {
2889
2897
 
2890
2898
  function _getFilesSha1Info() {
2891
2899
  _getFilesSha1Info = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(_ref, cdPartially) {
2892
- var sha1, needHandleSha1, allData, _yield$Storage$filesL, data, finishedInfo;
2900
+ var sha1, delay, needHandleSha1, allData, _yield$Storage$filesL, data, finishedInfo;
2893
2901
 
2894
2902
  return runtime_1.wrap(function _callee$(_context) {
2895
2903
  while (1) {
@@ -2911,12 +2919,12 @@ function _getFilesSha1Info() {
2911
2919
  return _context.abrupt("return", []);
2912
2920
 
2913
2921
  case 4:
2922
+ delay = 500;
2914
2923
  needHandleSha1 = [].concat(sha1);
2915
2924
  allData = [];
2916
2925
 
2917
- case 6:
2926
+ case 7:
2918
2927
 
2919
- console.log(needHandleSha1.join(','), 'needHandleSha1.join()90ojlskdfjsdlk');
2920
2928
  _context.next = 10;
2921
2929
  return filesListInfo({
2922
2930
  sha1: needHandleSha1.join(',')
@@ -2959,10 +2967,10 @@ function _getFilesSha1Info() {
2959
2967
 
2960
2968
  case 18:
2961
2969
  _context.next = 20;
2962
- return promiseSleep(3000);
2970
+ return promiseSleep(delay);
2963
2971
 
2964
2972
  case 20:
2965
- _context.next = 6;
2973
+ _context.next = 7;
2966
2974
  break;
2967
2975
 
2968
2976
  case 22:
@@ -3331,7 +3339,9 @@ var I18nNext = /*#__PURE__*/function () {
3331
3339
  lng: lng,
3332
3340
  fallbackLng: 'zh_CN',
3333
3341
  interpolation: {
3334
- escapeValue: false
3342
+ escapeValue: false,
3343
+ prefix: '{',
3344
+ suffix: '}'
3335
3345
  }
3336
3346
  });
3337
3347