forked from lxm_tools/flutter-picgo
fix:fix sm.ms delete method api for post, but it get
This commit is contained in:
@@ -24,7 +24,7 @@ class SMMSApi {
|
|||||||
|
|
||||||
static Future delete(String hash) async {
|
static Future delete(String hash) async {
|
||||||
var op = await oAuth();
|
var op = await oAuth();
|
||||||
Response res = await NetUtils.getInstance().post(BASE_URL + 'delete/' + hash ?? '', options: op);
|
Response res = await NetUtils.getInstance().get(BASE_URL + 'delete/' + hash ?? '', options: op);
|
||||||
return res.data;
|
return res.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user