dfws-ve-taro-request 0.0.9 → 0.1.1

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.
package/dist/index.esm.js CHANGED
@@ -6815,8 +6815,8 @@ var checkStatus = function (response, options, Taro) {
6815
6815
  data.status = 0;
6816
6816
  return data;
6817
6817
  }
6818
- data.status = 1;
6819
- data.errMsg = "";
6818
+ // data.status = 1;
6819
+ // data.errMsg = "";
6820
6820
  return data;
6821
6821
  }
6822
6822
  if (statusCode === 401) {
@@ -6856,6 +6856,7 @@ var request = (function (url, data, method, header, Taro, debug) {
6856
6856
  'dfws-params': header.params || '',
6857
6857
  'content-type': header["content-type"] || 'application/json',
6858
6858
  'resume-language': header['resume-language'] || 'zh-CN',
6859
+ 'common-params': header['common-params'] || '',
6859
6860
  }
6860
6861
  }).then(function (res) {
6861
6862
  var response = isEncode ? __assign(__assign({}, res), { data: decryptByDES(unescape(res.data), debug) }) : res;