api type更改
This commit is contained in:
@@ -194,7 +194,8 @@ function get(url, data, toast = true, type = 1) {
|
||||
return request({
|
||||
url,
|
||||
data,
|
||||
toast
|
||||
toast,
|
||||
type
|
||||
})
|
||||
}
|
||||
|
||||
@@ -213,7 +214,8 @@ function post(url, data, toast = true, method = 'POST', type = 1) {
|
||||
url,
|
||||
method,
|
||||
data,
|
||||
toast
|
||||
toast,
|
||||
type
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user