carga inicial
This commit is contained in:
@@ -8,10 +8,10 @@ import 'default_response_api.dart';
|
||||
class FuncoesGerais{
|
||||
|
||||
//static const String urlLexLiteApi = "https://apis.lexstation.com/api/v1/";
|
||||
static const String tokenPadrao = "XW3Y21GZWD9HIB8XOME4UE2APLPG3J";
|
||||
static const String tokenPadrao = "0GR7IE9OLII2UAUPJI80P1UHUK87WU";
|
||||
static const String urlBaseNewCore = "https://newcore.services/newcore/";
|
||||
static const int appMobileCodigo = 18;
|
||||
static const String nomeApp = "App Cards Starter";
|
||||
static const String nomeApp = "Decpisos";
|
||||
static const int versaoAtual = 100;
|
||||
static const String youtubeApiKey = "AIzaSyAmqjP0MxgASbt98Px1_hqaIvcsqeHO15k";//"AIzaSyA8jo3qsr-JJRm40iSHfkrzaMZXdMjo9v4";
|
||||
static const String channelId = "UCJ_EUoswNTvRGotJ-ROxaKw";
|
||||
@@ -76,8 +76,9 @@ class FuncoesGerais{
|
||||
try {
|
||||
var body = json.encode(objPost);
|
||||
//var response = await http.post(url, body: body,headers: heads);
|
||||
var r = await http.post(url, body: body,headers: heads);
|
||||
print(r);
|
||||
await http.post(url, body: body,headers: heads);
|
||||
//var r = await http.post(url, body: body,headers: heads);
|
||||
//print(r);
|
||||
// if (response != null) {
|
||||
// if (response.statusCode == 200) {
|
||||
// var data = jsonDecode(response.body);
|
||||
@@ -89,9 +90,9 @@ class FuncoesGerais{
|
||||
|
||||
}
|
||||
}
|
||||
else{
|
||||
print('Nada');
|
||||
}
|
||||
// else{
|
||||
// print('Nada');
|
||||
// }
|
||||
}
|
||||
|
||||
static Future<VersaoMinimaResponse> checkVersaoMinimaOk() async{
|
||||
|
||||
Reference in New Issue
Block a user