diff --git a/src/Znyc.Dispatching.Application/SpareTimeWorker/Server/SpareTimeWorkerService.cs b/src/Znyc.Dispatching.Application/SpareTimeWorker/Server/SpareTimeWorkerService.cs index b0fbef4..84793d2 100644 --- a/src/Znyc.Dispatching.Application/SpareTimeWorker/Server/SpareTimeWorkerService.cs +++ b/src/Znyc.Dispatching.Application/SpareTimeWorker/Server/SpareTimeWorkerService.cs @@ -23,7 +23,7 @@ namespace Znyc.Dispatching.Application.SpareTimeWorker.Server public async Task VehicleWorker(SpareTimer timer, long count) { - Console.WriteLine("车辆异常提醒"); + ////停留 await "http://localhost/api/job/syncstoping".GetAsync(); ////超速 diff --git a/src/Znyc.Dispatching.Application/User/Services/UserService.cs b/src/Znyc.Dispatching.Application/User/Services/UserService.cs index 6e7889c..cf36fa4 100644 --- a/src/Znyc.Dispatching.Application/User/Services/UserService.cs +++ b/src/Znyc.Dispatching.Application/User/Services/UserService.cs @@ -206,6 +206,7 @@ namespace Znyc.Dispatching.Application var json = Newtonsoft.Json.JsonConvert.DeserializeObject(plaintext); var phoneNumber = json.phoneNumber; var purePhoneNumber = json.purePhoneNumber; + //至此,成功获取到手机号 phone = Convert.ToString(purePhoneNumber); } @@ -214,7 +215,7 @@ namespace Znyc.Dispatching.Application } catch (Exception ex) { - Console.WriteLine($"RegisterUserAsync:{ex.StackTrace}"); + Console.WriteLine($"RegisterUserAsync:{ex.Message}"); _logger.LogError(ex.StackTrace); } }