mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
修改入参格式
This commit is contained in:
@@ -112,9 +112,9 @@ const get = function (baseURL, url) {
|
|||||||
* @param {Object} postData
|
* @param {Object} postData
|
||||||
*/
|
*/
|
||||||
const post = function (baseURL, url, postData) {
|
const post = function (baseURL, url, postData) {
|
||||||
if (postData) {
|
// if (postData) {
|
||||||
postData = qs.stringify(postData);
|
// postData = qs.stringify(postData);
|
||||||
}
|
// }
|
||||||
return request({
|
return request({
|
||||||
baseURL,
|
baseURL,
|
||||||
url: url,
|
url: url,
|
||||||
|
|||||||
Reference in New Issue
Block a user