增加注册信息日志推送
This commit is contained in:
@@ -78,6 +78,7 @@ namespace RCUHost.Implement
|
||||
StepTongJi.SendInfo(4, "注册命令Task内部开始执行", context.MessageID, context.IsMonitor);
|
||||
//Reply(context);
|
||||
|
||||
string RoomNumber = "";
|
||||
var OriginalByte = context.Data;
|
||||
|
||||
int lll = OriginalByte.Length;
|
||||
@@ -340,6 +341,16 @@ namespace RCUHost.Implement
|
||||
//B1不能被去掉
|
||||
HostRegisterReceiver.Send(exitEntity);//通知同步工具
|
||||
|
||||
RegisterInfo rsg = new RegisterInfo()
|
||||
{
|
||||
ts_ms=Tools.GetUnixTime_MS(),
|
||||
hotel_id = long.Parse(hotelCode),
|
||||
room_id = exitEntity.RoomNumber,
|
||||
device_id = hostNumber,
|
||||
is_send = 1
|
||||
};
|
||||
string NNN = Newtonsoft.Json.JsonConvert.SerializeObject(rsg);
|
||||
CSRedisCacheHelper.Publish("redis-0XB1", NNN);
|
||||
//logger.Error(string.Format("通知酒店({0})客房({1})同步主机信息。", exitEntity.SysHotel.Code, exitEntity.RoomNumber));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user