forte integration prod

forte
Rustem 2024-11-23 12:08:22 +05:00
parent a0741ce84d
commit b25781909f
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ class ApiService extends BaseService {
print(hash); print(hash);
Map<String, String> requestBody = <String, String>{'login': login, 'hash': hash}; Map<String, String> requestBody = <String, String>{'login': login, 'hash': hash};
//var response = await requestFormData('/halykpos/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false); //var response = await requestFormData('/fortepos/test/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
var response = await requestFormData('/fortepos/test/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false); var response = await requestFormData('/fortepos/prod/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
print(response); print(response);
return FortePosSession.fromJson(jsonDecode(response)); return FortePosSession.fromJson(jsonDecode(response));
} }