Update XxlRestfulServiceHandler.cs

bodyText(没有任务参数)为空时会摄氏
pull/37/head
徐超越 3 years ago committed by GitHub
parent 942efdba4b
commit fbe3e1a5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/DotXxlJob.Core/XxlRestfulServiceHandler.cs

@ -106,7 +106,7 @@ namespace DotXxlJob.Core
{ {
bodyText = await reader.ReadToEndAsync(); bodyText = await reader.ReadToEndAsync();
} }
return bodyText; return bodyText??string.Emppty;
} }
#region rpc service #region rpc service

Loading…
Cancel
Save