This commit is contained in:
parent
4dab9292a4
commit
4051dc6b52
|
@ -12,6 +12,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Api.Framework.Cps
|
||||
{
|
||||
|
@ -217,13 +218,15 @@ namespace Api.Framework.Cps
|
|||
}
|
||||
}
|
||||
HttpHelper http = new HttpHelper();
|
||||
WebResult result = null;
|
||||
try
|
||||
{
|
||||
//var ss = http.SendData(end);
|
||||
return http.SendData(end);
|
||||
result = http.SendData(end);
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.GetSingleObj().Error("cps请求异常", ex.Message + $"{result?.message} => {JsonConvert.SerializeObject(end)}");
|
||||
if (ex.Message == "未将对象引用设置到对象的实例。")
|
||||
return null;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue