Esempio n. 1
0
        /// <summary>
        /// 发送普通日志
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        public IResponseData RequestSendLog(LogDto dto)
        {
            var request = new RequestData()
            {
                Id          = dto.Id,
                RequestType = RequestType.ServiceLog,
                JsonData    = JsonConvert.SerializeObject(dto)
            };
            var result = RequestSend(request);

            return(result);
        }
Esempio n. 2
0
 protected virtual void OnResponseReceivePushEvent(LogDto data)
 {
     OnResponseReceivePush?.Invoke(data);
 }