abler-api 0.1.29 → 0.1.30

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.
@@ -192,7 +192,7 @@ class apiUtil$2 {
192
192
 
193
193
  static sendOrRedirect(res, redirectUrl, data) {
194
194
  if (redirectUrl) {
195
- redirectUrl = urlAppendParams(redirectUrl, data, true);
195
+ redirectUrl = netUtil$1.urlAppendParams(redirectUrl, data, true);
196
196
  res.redirect(redirectUrl);
197
197
  } else {
198
198
  res.send(data);
@@ -179,7 +179,7 @@ class apiUtil$2 {
179
179
 
180
180
  static sendOrRedirect(res, redirectUrl, data) {
181
181
  if (redirectUrl) {
182
- redirectUrl = urlAppendParams(redirectUrl, data, true);
182
+ redirectUrl = netUtil$1.urlAppendParams(redirectUrl, data, true);
183
183
  res.redirect(redirectUrl);
184
184
  } else {
185
185
  res.send(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abler-api",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "API服务相关工具",
5
5
  "main": "./dist/cjs/pp-util.js",
6
6
  "module": "./dist/es/pp-util.js",