添加查询缓存
有一些效果,原来10分钟就会崩溃的,现在延长了一个小时,不过有的时候,还是会崩溃
This commit is contained in:
@@ -1514,7 +1514,8 @@ namespace RCUHost.Implement
|
||||
//添加统计信息
|
||||
StepTongJi.SendInfo(3, "Task分配成功,即将开始执行", context.MessageID, context.IsMonitor);
|
||||
|
||||
if (cmdType == 0x36)
|
||||
byte cmdTypeTTT = context.SystemHeader.Value.CmdType;
|
||||
if (cmdTypeTTT == 0x36)
|
||||
{
|
||||
IReceiver receiver = receivers[(CommandType)0x36];
|
||||
if (receiver != null)
|
||||
|
||||
@@ -1035,8 +1035,14 @@ namespace RCUHost.Implement
|
||||
var d = hhh.RoomNumber;
|
||||
foreach (string cuid in a)//多个英文逗号隔开
|
||||
{
|
||||
TianMaoOperation.PostWebRequestToTianMao("CheckoutWithAK",
|
||||
Newtonsoft.Json.JsonConvert.SerializeObject(new { HotelId = cuid.Split('&')[0], RoomNo = cuid.Split('&')[1] }), c, d);//重置天猫精灵
|
||||
|
||||
string c1 = cuid.Split('&')[0];
|
||||
string c2 = cuid.Split('&')[1];
|
||||
if (!string.IsNullOrEmpty(c1) && !string.IsNullOrEmpty(c2))
|
||||
{
|
||||
TianMaoOperation.PostWebRequestToTianMao("CheckoutWithAK",
|
||||
Newtonsoft.Json.JsonConvert.SerializeObject(new { HotelId = c1, RoomNo = c2 }), c, d);//重置天猫精灵
|
||||
}
|
||||
|
||||
Interface3Log w1 = new Interface3Log();
|
||||
w1.HotelCode = c;
|
||||
|
||||
Reference in New Issue
Block a user