fixed bug on display buypoints

This commit is contained in:
Mohamed Nouffer
2023-05-16 20:40:02 +05:30
parent 05a812428a
commit 1769d52601
25 changed files with 108 additions and 85 deletions

View File

@ -9,7 +9,7 @@ class PerfectureService{
List<dynamic> perfs = [];
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/perf_main/';
//String url = 'http://localhost:8100/api/perf_main/';
print('++++++++${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -27,7 +27,7 @@ class PerfectureService{
List<dynamic> perfs = [];
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/subperfinmain/?area=' + area;
//String url = 'http://localhost:8100/api/subperfinmain/?area=' + area;
print('++++++++${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -46,7 +46,7 @@ class PerfectureService{
List<dynamic> perfs = [];
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/mainperfext/?perf=' + id;
//String url = 'http://localhost:8100/api/mainperfext/?perf=' + id;
print('++++++++${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -64,7 +64,7 @@ class PerfectureService{
List<dynamic> perfs = [];
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/allgifuareas/?perf=' + perf;
//String url = 'http://localhost:8100/api/allgifuareas/?perf=' + perf;
print('++++++++${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -82,7 +82,7 @@ class PerfectureService{
List<dynamic> perfs = [];
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/customareanames';
//String url = 'http://localhost:8100/api/customareanames';
print('++++++++${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -101,7 +101,7 @@ class PerfectureService{
List<dynamic> perfs = [];
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/perfext/?sub_perf=' + id;
//String url = 'http://localhost:8100/api/perfext/?sub_perf=' + id;
print('++++++++${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',