20230705集团对接
This commit is contained in:
@@ -14,6 +14,7 @@ namespace BLL
|
|||||||
{
|
{
|
||||||
public static Model.TokenItem GetCNCECToken()
|
public static Model.TokenItem GetCNCECToken()
|
||||||
{
|
{
|
||||||
|
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
|
||||||
string CNCECPath = SysConstSetService.CNCECPath;
|
string CNCECPath = SysConstSetService.CNCECPath;
|
||||||
|
|
||||||
string baseurl = CNCECPath + "/api/Common/GetToken";
|
string baseurl = CNCECPath + "/api/Common/GetToken";
|
||||||
@@ -42,6 +43,7 @@ namespace BLL
|
|||||||
}
|
}
|
||||||
public static Model.ReturnData PushCNCEC(string JsonBody,string apiurl)
|
public static Model.ReturnData PushCNCEC(string JsonBody,string apiurl)
|
||||||
{
|
{
|
||||||
|
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
|
||||||
Model.ReturnData responeData = new Model.ReturnData();
|
Model.ReturnData responeData = new Model.ReturnData();
|
||||||
string CNCECPath = SysConstSetService.CNCECPath;
|
string CNCECPath = SysConstSetService.CNCECPath;
|
||||||
if (string.IsNullOrEmpty(CNCECPath))
|
if (string.IsNullOrEmpty(CNCECPath))
|
||||||
@@ -72,6 +74,7 @@ namespace BLL
|
|||||||
}
|
}
|
||||||
public static Model.TokenItem GetToken()
|
public static Model.TokenItem GetToken()
|
||||||
{
|
{
|
||||||
|
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
|
||||||
Model.TokenItem tokenItem = new Model.TokenItem();
|
Model.TokenItem tokenItem = new Model.TokenItem();
|
||||||
tokenItem.Token = BLL.SysConstSetService.CNCECToken;
|
tokenItem.Token = BLL.SysConstSetService.CNCECToken;
|
||||||
tokenItem.ExpiryTime = BLL.SysConstSetService.CNCECTTokenExTime;
|
tokenItem.ExpiryTime = BLL.SysConstSetService.CNCECTTokenExTime;
|
||||||
|
|||||||
@@ -0,0 +1,65 @@
|
|||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 BLL.ServerService.GetCNCECToken() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\ServerService.cs:行号 32
|
||||||
|
在 BLL.ServerService.GetToken() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\ServerService.cs:行号 85
|
||||||
|
在 BLL.ServerService.PushCNCEC(String JsonBody, String apiurl) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\ServerService.cs:行号 58
|
||||||
|
在 BLL.HSSEData_HSSEService.PushCNCEC(String Id) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\HSSEData_HSSEService.cs:行号 517
|
||||||
|
在 FineUIPro.Web.ZHGL.DataSync.HSSEData_HSSEEdit.btnSyn_Click(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\ZHGL\DataSync\HSSEData_HSSEEdit.aspx.cs:行号 516
|
||||||
|
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||||
|
在 (Button , EventArgs )
|
||||||
|
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:07/05/2023 09:52:50
|
||||||
|
出错文件:http://localhost:2146/ZHGL/DataSync/HSSEData_HSSEEdit.aspx?Id=0925a698-9188-455c-8b86-32e3b1e88680
|
||||||
|
IP地址:::1
|
||||||
|
操作人员:JT
|
||||||
|
|
||||||
|
出错时间:07/05/2023 09:52:50
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 BLL.ServerService.GetCNCECToken() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\ServerService.cs:行号 32
|
||||||
|
在 BLL.ServerService.GetToken() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\ServerService.cs:行号 85
|
||||||
|
在 BLL.ServerService.PushCNCEC(String JsonBody, String apiurl) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\ServerService.cs:行号 58
|
||||||
|
在 BLL.HSSEData_HSSEService.PushCNCEC(String Id) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\ZHGL\DataSync\HSSEData_HSSEService.cs:行号 517
|
||||||
|
在 FineUIPro.Web.ZHGL.DataSync.HSSEData_HSSEEdit.btnSyn_Click(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\ZHGL\DataSync\HSSEData_HSSEEdit.aspx.cs:行号 516
|
||||||
|
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||||
|
在 (Button , EventArgs )
|
||||||
|
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:07/05/2023 10:00:45
|
||||||
|
出错文件:http://localhost:2146/ZHGL/DataSync/HSSEData_HSSEEdit.aspx?Id=0925a698-9188-455c-8b86-32e3b1e88680
|
||||||
|
IP地址:::1
|
||||||
|
操作人员:JT
|
||||||
|
|
||||||
|
出错时间:07/05/2023 10:00:45
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.SysManage.SysConstSet.btnApply_Click(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\SysManage\SysConstSet.aspx.cs:行号 972
|
||||||
|
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||||
|
在 (Button , EventArgs )
|
||||||
|
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:07/05/2023 10:05:10
|
||||||
|
出错文件:http://localhost:2146/SysManage/SysConstSet.aspx
|
||||||
|
IP地址:::1
|
||||||
|
操作人员:JT
|
||||||
|
|
||||||
|
出错时间:07/05/2023 10:05:10
|
||||||
|
|
||||||
|
|||||||
@@ -957,6 +957,7 @@ namespace FineUIPro.Web.SysManage
|
|||||||
|
|
||||||
protected void btnApply_Click(object sender, EventArgs e)
|
protected void btnApply_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
|
||||||
string CNCECPath = SysConstSetService.CNCECPath;
|
string CNCECPath = SysConstSetService.CNCECPath;
|
||||||
|
|
||||||
string baseurl = CNCECPath + "/api/Common/ApplyToken";
|
string baseurl = CNCECPath + "/api/Common/ApplyToken";
|
||||||
|
|||||||
Reference in New Issue
Block a user