添加查询缓存

有一些效果,原来10分钟就会崩溃的,现在延长了一个小时,不过有的时候,还是会崩溃
This commit is contained in:
2025-12-29 15:03:58 +08:00
parent 1ec13289dc
commit f9fe3a36e6
11 changed files with 550 additions and 280 deletions

View File

@@ -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;