uniapp-request-sdk 1.4.7 → 1.4.8

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
@@ -126,7 +126,7 @@ var UniRequest = /*#__PURE__*/function () {
126
126
  var appVersion = (_a = uni.getSystemInfoSync()) === null || _a === void 0 ? void 0 : _a.appVersion;
127
127
  /** 如果是http开头的,则不需要加入baseUrl */
128
128
  if (!/^https?:\/\//.test(url)) {
129
- url = "".concat(this.baseUrl.replace(/\/$/, ''), "/").concat(params.url.replace(/^\//, ''), "?t=").concat(Date.now(), "&appVersion=").concat(appVersion, "&userName=").concat(this.userName);
129
+ url = "".concat(this.baseUrl.replace(/\/$/, ''), "/").concat(params.url.replace(/^\//, ''), "?t=").concat(Date.now());
130
130
  } else {
131
131
  url = "".concat(params.url, "?t=").concat(Date.now());
132
132
  }
package/dist/index.umd.js CHANGED
@@ -132,7 +132,7 @@
132
132
  var appVersion = (_a = uni.getSystemInfoSync()) === null || _a === void 0 ? void 0 : _a.appVersion;
133
133
  /** 如果是http开头的,则不需要加入baseUrl */
134
134
  if (!/^https?:\/\//.test(url)) {
135
- url = "".concat(this.baseUrl.replace(/\/$/, ''), "/").concat(params.url.replace(/^\//, ''), "?t=").concat(Date.now(), "&appVersion=").concat(appVersion, "&userName=").concat(this.userName);
135
+ url = "".concat(this.baseUrl.replace(/\/$/, ''), "/").concat(params.url.replace(/^\//, ''), "?t=").concat(Date.now());
136
136
  } else {
137
137
  url = "".concat(params.url, "?t=").concat(Date.now());
138
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniapp-request-sdk",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "用于uniapp小程序的请求库的sdk",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": " dist/index.esm.js",