wd history done, closes #6
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user