wd history done, closes #6

This commit is contained in:
2023-07-06 15:41:39 +05:30
parent eee0993973
commit 21d543ca1c
10 changed files with 272 additions and 1 deletions

View File

@@ -262,4 +262,17 @@ class DataManager{
return (response.body.toString());
}
static Future<List<dynamic>> GetWithdrawalHistory() async{
Map<String,String> body = <String, String>{
"id": UserJson['id']
};
var response = (await http.post(
Uri.parse('${API_ENDPOINT}get_wd_history.php'),
body: body));
Debug.Log("wd history response: " +response.body.toString());
return jsonDecode(response.body.toString());
}
}