ajustes no app para a api_homol
This commit is contained in:
@@ -39,7 +39,7 @@ class _TelaHistoricoState extends State<TelaHistorico> {
|
||||
|
||||
getMatriculas()async{
|
||||
String cd = widget.estudanteModelo.dados[widget.estudanteModelo.nroAluno]['CD_ALUNO'];
|
||||
final url = 'http://192.168.18.2:8000/matriculas_aluno?CD_ALUNO=$cd&CIDADE=${widget.estudanteModelo.cidade}';
|
||||
final url = '${widget.estudanteModelo.URL}/matriculas_aluno?CD_ALUNO=$cd&CIDADE=${widget.estudanteModelo.cidade}';
|
||||
print(url);
|
||||
final response = await http.get(Uri.parse(url));
|
||||
var map = json.decode(response.body);
|
||||
|
||||
Reference in New Issue
Block a user