FCS的 用户名和密码 每个酒店不一样

给 浩 哥增加 专门的碳达人接口
This commit is contained in:
2026-03-10 15:57:43 +08:00
parent ed386b0eaf
commit 72fa1a5524
8 changed files with 132 additions and 43 deletions

View File

@@ -184,7 +184,9 @@ namespace CommonEntity
var FFFA = Newtonsoft.Json.JsonConvert.DeserializeObject<FCS_ReturnInfo>(ddd);
string TokenKey = CacheKey.FCSToken;
//string TokenKey = CacheKey.FCSToken;
string TokenKey = CacheKey.FCSToken + "_" + HotelCode;
CSRedisCacheHelper.Set_Partition(TokenKey, FFFA, 1);
}
}
@@ -345,7 +347,9 @@ namespace CommonEntity
//logger.Error("FCS push data");
if (!string.IsNullOrEmpty(location_UUID))
{
string Key = CacheKey.FCSToken;
//string Key = CacheKey.FCSToken;
string Key = CacheKey.FCSToken + "_" + code;
var TokenTakeOut = CSRedisCacheHelper.Get_Partition<FCS_ReturnInfo>(Key, 1);
if (TokenTakeOut == null)
{