- fix Restart app
- Check thêm gửi giao dịch thành công
This commit is contained in:
+9
-1
@@ -214,7 +214,15 @@ namespace SafeBagDE70.API
|
||||
if (response.EnsureSuccessStatusCode().StatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
var jsonResponse = await response.Content.ReadAsStringAsync();
|
||||
bSuccess = true;
|
||||
if(jsonResponse!=null)
|
||||
{
|
||||
var countingRecv=JsonConvert.DeserializeObject<CountingData2Send>(jsonResponse);
|
||||
if (countingRecv!=null && countingRecv.TransactionCode == data2Send.TransactionCode)
|
||||
{
|
||||
bSuccess = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
catch(Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user