|
@@ -33,7 +33,7 @@ namespace DataTransfer.tongji
|
|
|
float day = curday - 1;
|
|
|
//float day = MathF.Floor((long)ts.TotalSeconds / 24 / 60 / 60);
|
|
|
Console.WriteLine("当前时间day==.............."+ day);
|
|
|
- var mem = Redis.Ins.GetDatabase(0);
|
|
|
+ var mem = Redis.Ins.GetDatabase(1);
|
|
|
|
|
|
List<int> retainedlist = new List<int>();
|
|
|
retainedlist.Add(1);
|
|
@@ -84,7 +84,7 @@ namespace DataTransfer.tongji
|
|
|
|
|
|
List<string> loseUIdList = new List<string>();
|
|
|
|
|
|
- var mem = Redis.Ins.GetDatabase(0);
|
|
|
+ var mem = Redis.Ins.GetDatabase(1);
|
|
|
if (!mem.KeyExists(dayKey) || !mem.KeyExists(lastDayKey))
|
|
|
{
|
|
|
return loseUIdList;
|
|
@@ -112,7 +112,7 @@ namespace DataTransfer.tongji
|
|
|
/// <param name="day"></param>
|
|
|
public static void TargetCollect(List<string> loseUIdList,int type,int zoneid,float day)
|
|
|
{
|
|
|
- var mem = Redis.Ins.GetDatabase(0);
|
|
|
+ var mem = Redis.Ins.GetDatabase(1);
|
|
|
|
|
|
foreach (string uid in loseUIdList)
|
|
|
{
|
|
@@ -219,7 +219,7 @@ namespace DataTransfer.tongji
|
|
|
float day = MathF.Floor((long)ts.TotalSeconds / 24 / 60 / 60);
|
|
|
|
|
|
|
|
|
- var mem = Redis.Ins.GetDatabase(0);
|
|
|
+ var mem = Redis.Ins.GetDatabase(1);
|
|
|
HashEntry[] ctxList = mem.HashGetAll(MemKey_Statistics.GamerunLoginUser(zoneid, day - 1));
|
|
|
//int length = ctxList.Length;
|
|
|
|