/// <summary> /// 提交系统日志 /// </summary> /// <param name="logEntity"></param> public void PutLog(SysLogEntity logEntity) { if (string.IsNullOrEmpty(address)) { return; } RestClient.HttpRequestNoResult("http://" + address + "/his_sys/_doc/", HttpType.POST, JsonConvert.SerializeObject(logEntity), username, pwd); }
public void PutSysInfoLog(SysLogEntity logEntity) { if (xtRiZhi < 1) { return; } try { eSLog.PutLog(logEntity); } catch (Exception ex) { LocalLog.WriteLog(this.GetType(), ex); } }