Skip to content

Commit

Permalink
fix:request queryString
Browse files Browse the repository at this point in the history
  • Loading branch information
livehigh committed Dec 1, 2021
1 parent 2deb189 commit 54e7c31
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demo-album/lib/cos-wx-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -9032,7 +9032,7 @@ var request = function request(params, callback) {
});
});
} else {
var qsStr = params.qs && obj2str(params.qs, true) || '';
var qsStr = params.qs && obj2str(params.qs) || '';
if (qsStr) {
url += (url.indexOf('?') > -1 ? '&' : '?') + qsStr;
}
Expand Down
2 changes: 1 addition & 1 deletion demo-album/lib/cos-wx-sdk-v5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/lib/cos-wx-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -9032,7 +9032,7 @@ var request = function request(params, callback) {
});
});
} else {
var qsStr = params.qs && obj2str(params.qs, true) || '';
var qsStr = params.qs && obj2str(params.qs) || '';
if (qsStr) {
url += (url.indexOf('?') > -1 ? '&' : '?') + qsStr;
}
Expand Down
2 changes: 1 addition & 1 deletion demo/lib/cos-wx-sdk-v5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var request = function (params, callback) {
});
});
} else {
var qsStr = params.qs && obj2str(params.qs, true) || '';
var qsStr = params.qs && obj2str(params.qs) || '';
if (qsStr) {
url += (url.indexOf('?') > -1 ? '&' : '?') + qsStr;
}
Expand Down

0 comments on commit 54e7c31

Please sign in to comment.