fix:fix sm.ms delete method api for post, but it get

This commit is contained in:
hackycy
2020-06-28 16:18:41 +08:00
parent a8267c9523
commit 738c3274ef

View File

@@ -24,7 +24,7 @@ class SMMSApi {
static Future delete(String hash) async {
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;
}