RecommandKingHelper.cs 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Data;
  5. using MySystem.JavaUserModels;
  6. using MySystem.JavaStatModels;
  7. using Library;
  8. using LitJson;
  9. using System.Threading;
  10. using GraphQL;
  11. namespace MySystem
  12. {
  13. public class RecommandKingHelper
  14. {
  15. public readonly static RecommandKingHelper Instance = new RecommandKingHelper();
  16. private RecommandKingHelper()
  17. { }
  18. public void Start()
  19. {
  20. Thread th = new Thread(StartFor);
  21. th.IsBackground = true;
  22. th.Start();
  23. }
  24. public void StartFor()
  25. {
  26. while (true)
  27. {
  28. if(DateTime.Now.Hour > 13 && DateTime.Now.Hour < 23)
  29. {
  30. string today = DateTime.Now.ToString("yyyy-MM-dd");
  31. string checkFlag = function.ReadInstance("/RecommandKing/" + today + ".txt");
  32. if(string.IsNullOrEmpty(checkFlag))
  33. {
  34. function.WritePage("/RecommandKing/", today + ".txt", DateTime.Now.ToString());
  35. if(DateTime.Now.Day == 2)
  36. {
  37. Recommend(DateTime.Now.AddMonths(-1).ToString("yyyyMM"), 1);
  38. Recommend(DateTime.Now.AddMonths(-1).ToString("yyyyMM"), 2);
  39. // Recommend(DateTime.Now.AddMonths(-1).ToString("yyyyMM"), 3);
  40. }
  41. Recommend(DateTime.Now.ToString("yyyyMM"), 1);
  42. Recommend(DateTime.Now.ToString("yyyyMM"), 2);
  43. // Recommend(DateTime.Now.ToString("yyyyMM"), 3);
  44. }
  45. }
  46. Thread.Sleep(600000);
  47. }
  48. // string today = DateTime.Now.ToString("yyyy-MM-dd");
  49. // string checkFlag = function.ReadInstance("/RecommandKing/" + today + ".txt");
  50. // if(string.IsNullOrEmpty(checkFlag))
  51. // {
  52. // function.WritePage("/RecommandKing/", today + ".txt", DateTime.Now.ToString());
  53. // Recommend(DateTime.Now.AddMonths(-2).ToString("yyyyMM"), 1);
  54. // Recommend(DateTime.Now.AddMonths(-2).ToString("yyyyMM"), 2);
  55. // Recommend(DateTime.Now.AddMonths(-1).ToString("yyyyMM"), 1);
  56. // Recommend(DateTime.Now.AddMonths(-1).ToString("yyyyMM"), 2);
  57. // Recommend(DateTime.Now.ToString("yyyyMM"), 1);
  58. // Recommend(DateTime.Now.ToString("yyyyMM"), 2);
  59. // }
  60. }
  61. public void Recommend(string TradeMonth, int Kind)
  62. {
  63. int TradeMonthNum = int.Parse(TradeMonth);
  64. int CheckCount = 0;
  65. if(Kind == 1) CheckCount = 40;
  66. if(Kind >= 2) CheckCount = 50;
  67. List<int> ReduceUserId = new List<int>();
  68. MySystem.JavaUserModels.WebCMSEntities db = new MySystem.JavaUserModels.WebCMSEntities();
  69. List<KxsInviteKing> list = new List<KxsInviteKing>();
  70. List<int> Historys = new List<int>();
  71. if(Kind < 3)
  72. {
  73. Historys = db.KxsInviteKing.Where(m => m.StepNum >= 40 && m.Kind == 1 && m.TradeMonth < TradeMonthNum).ToList().Select(m => m.UserId).ToList();
  74. Historys.Add(565);
  75. Historys.Add(139473);
  76. Historys.Add(173790);
  77. Historys.Add(174506);
  78. Historys.Add(127023);
  79. Historys.Add(173790);
  80. Historys.Add(174506);
  81. Historys.Add(139473);
  82. Historys.Add(565);
  83. Historys.Add(127023);
  84. Historys.Add(176218);
  85. Historys.Add(195205);
  86. Historys.Add(193048);
  87. Historys.Add(182658);
  88. Historys.Add(173793);
  89. Historys.Add(146503);
  90. Historys.Add(168578);
  91. Historys.Add(71648);
  92. Historys.Add(730);
  93. Historys.Add(1421);
  94. Historys.Add(133571);
  95. Historys.Add(588);
  96. Historys.Add(609);
  97. Historys.Add(582);
  98. Historys.Add(196795);
  99. Historys.Add(195002);
  100. Historys.Add(205459);
  101. Historys.Add(198621);
  102. Historys.Add(197509);
  103. Historys.Add(202230);
  104. Historys.Add(205490);
  105. Historys.Add(193837);
  106. Historys.Add(195612);
  107. Historys.Add(193350);
  108. Historys.Add(164983);
  109. Historys.Add(176444);
  110. Historys.Add(141621);
  111. Historys.Add(10618);
  112. Historys.Add(134503);
  113. Historys.Add(168546);
  114. Historys.Add(149335);
  115. Historys.Add(415);
  116. Historys.Add(218);
  117. Historys.Add(180152);
  118. Historys.Add(198178);
  119. Historys.Add(190609);
  120. Historys.Add(145176);
  121. Historys.Add(134929);
  122. Historys.Add(4858);
  123. Historys.Add(391);
  124. Historys.Add(193891);
  125. Historys.Add(206512);
  126. Historys.Add(197367);
  127. Historys.Add(174434);
  128. Historys.Add(210112);
  129. Historys.Add(209078);
  130. Historys.Add(175907);
  131. Historys.Add(146169);
  132. Historys.Add(160481);
  133. Historys.Add(181934);
  134. Historys.Add(39041);
  135. Historys.Add(206658);
  136. Historys.Add(223045);
  137. Historys.Add(212269);
  138. Historys.Add(170063);
  139. Historys.Add(179072);
  140. Historys.Add(150694);
  141. Historys.Add(8573);
  142. Historys.Add(32534);
  143. Historys.Add(232054);
  144. Historys.Add(225212);
  145. Historys.Add(219510);
  146. Historys.Add(222996);
  147. Historys.Add(216389);
  148. Historys.Add(216513);
  149. Historys.Add(200374);
  150. Historys.Add(193740);
  151. Historys.Add(229240);
  152. Historys.Add(150696);
  153. }
  154. else if(Kind == 3)
  155. {
  156. Historys = db.KxsInviteKing.Where(m => m.StepNum >= 40 && m.TradeMonth == TradeMonthNum && m.Kind == 1).ToList().Select(m => m.UserId).ToList();
  157. }
  158. DateTime check = DateTime.Parse("2023-10-01 00:00:00");
  159. DateTime checkEnd = DateTime.Parse(TradeMonth.Substring(0, 4) + "-" + TradeMonth.Substring(4, 2) + "-01 00:00:00").AddMonths(1);
  160. DateTime start = DateTime.Parse(TradeMonth.Substring(0, 4) + "-" + TradeMonth.Substring(4, 2) + "-01 00:00:00");
  161. DateTime end = start.AddMonths(1);
  162. CustomerSqlConn.op("delete from kxs_invite_king where trade_month='" + TradeMonth + "' and kind=" + Kind, MysqlConn.JavaUserSqlConnStr);
  163. List<int> ProductIds = new List<int>();
  164. ProductIds.Add(10);
  165. ProductIds.Add(11);
  166. ProductIds.Add(77);
  167. ProductIds.Add(78);
  168. ProductIds.Add(79);
  169. ProductIds.Add(27);
  170. ProductIds.Add(28);
  171. ProductIds.Add(39);
  172. ProductIds.Add(40);
  173. ProductIds.Add(92);
  174. List<RecommandKingItem> users = new List<RecommandKingItem>();
  175. JavaStatModels.WebCMSEntities statdb = new JavaStatModels.WebCMSEntities();
  176. JavaProductModels.WebCMSEntities productdb = new JavaProductModels.WebCMSEntities();
  177. MpMainModels.WebCMSEntities mpdb = new MpMainModels.WebCMSEntities();
  178. MpMainModels2.WebCMSEntities mpdb2 = new MpMainModels2.WebCMSEntities();
  179. //统计当月下单名单
  180. var orderids = productdb.KxsShopOrderInfo.Where(m => ProductIds.Contains(m.GoodsId)).ToList().Select(m => m.OrderId).ToList();
  181. List<int> statusList = new List<int>();
  182. statusList.Add(1);
  183. statusList.Add(2);
  184. statusList.Add(3);
  185. var orders = productdb.KxsShopOrder.Where(m => m.PayTime >= check && m.PayTime < checkEnd && statusList.Contains(m.Status) && m.UserId > 1 && orderids.Contains(m.Id) && m.ReturnStatus == 0).ToList();
  186. function.WriteLog("kind:" + Kind + "--" + orders.Count.ToString(), "推荐王日志");
  187. List<int> uids = orders.Select(m => m.UserId).Distinct().ToList();
  188. foreach(int uid in uids)
  189. {
  190. JavaUserModels.KxsUser user = db.KxsUser.FirstOrDefault(m => m.Id == uid);
  191. if(user != null)
  192. {
  193. if(!users.Any(m => m.UserId == user.Id))
  194. {
  195. users.Add(new RecommandKingItem()
  196. {
  197. UserId = user.Id,
  198. ParentUserId = user.Pid,
  199. ParentNav = user.PidPath,
  200. // PreAmount = PreMonthAmt.ContainsKey(user.Id) ? PreMonthAmt[user.Id] : 0,
  201. Level = user.PidPath.Replace(",,", ",").Trim(',').Split(',').Length + 1,
  202. UserLevel = user.UserLevel,
  203. Kind = 1,
  204. Op = false,
  205. });
  206. function.WriteLog("kind:" + Kind + "-1-" + user.Id.ToString(), "推荐王日志");
  207. }
  208. }
  209. }
  210. foreach(RecommandKingItem user in users)
  211. {
  212. int uid = user.UserId;
  213. int ActCount = 0;
  214. if(ActCount == 0)
  215. {
  216. if(statdb.KxsUserActTrade.Any(m => m.UserId == uid && m.TradeMonth == TradeMonthNum && m.TotalType == 0))
  217. {
  218. ActCount += statdb.KxsUserActTrade.Where(m => m.UserId == uid && m.TradeMonth == TradeMonthNum && m.TotalType == 0).Sum(m => m.ActNum);
  219. }
  220. }
  221. if(ActCount == 0)
  222. {
  223. ActCount += mpdb.MerchantDepositOrder.Count(m => m.UserId == uid && m.CreateDate >= start && m.CreateDate < end && m.Status > 0 && m.UserId == uid);
  224. }
  225. if(ActCount == 0)
  226. {
  227. ActCount += mpdb2.MerchantDepositOrder.Count(m => m.UserId == uid && m.CreateDate >= start && m.CreateDate < end && m.Status > 0 && m.UserId == uid);
  228. }
  229. if(ActCount > 0)
  230. {
  231. user.Op = true;
  232. function.WriteLog("有效标记-kind:" + Kind + "--" + user.ParentNav.ToString() + "->" + user.UserId.ToString(), "推荐王日志");
  233. }
  234. }
  235. foreach(int uid in uids)
  236. {
  237. JavaUserModels.KxsUser user = db.KxsUser.FirstOrDefault(m => m.Id == uid);
  238. if(user != null)
  239. {
  240. string[] ParentIds = user.PidPath.Replace(",,", ",").Trim(',').Split(',');
  241. foreach(string ParentId in ParentIds)
  242. {
  243. int ParentUserId = int.Parse(ParentId);
  244. JavaUserModels.KxsUser puser = db.KxsUser.FirstOrDefault(m => m.Id == ParentUserId && m.Id > 1);
  245. if(puser != null)
  246. {
  247. if(!users.Any(m => m.UserId == puser.Id))
  248. {
  249. users.Add(new RecommandKingItem()
  250. {
  251. UserId = puser.Id,
  252. ParentUserId = puser.Pid,
  253. ParentNav = puser.PidPath,
  254. // PreAmount = PreMonthAmt.ContainsKey(puser.Id) ? PreMonthAmt[puser.Id] : 0,
  255. Level = puser.PidPath.Replace(",,", ",").Trim(',').Split(',').Length + 1,
  256. UserLevel = puser.UserLevel,
  257. Kind = 2,
  258. Op = false,
  259. });
  260. function.WriteLog("kind:" + Kind + "--" + puser.Id.ToString() + "-p", "推荐王日志");
  261. }
  262. }
  263. }
  264. }
  265. }
  266. users = users.OrderByDescending(m => m.Level).ToList();
  267. foreach(RecommandKingItem user in users)
  268. {
  269. string UserIdStr = "," + user.UserId + ",";
  270. int Count = users.Count(m => m.ParentNav.Contains(UserIdStr) && m.Op);
  271. user.ActCount = Count;
  272. user.ChkActCount = Count;
  273. function.WriteLog("kind:" + Kind + "--" + user.UserId + ":" + Count, "推荐王日志");
  274. // RedisDbconn.Instance.AddList("userstmp2024", user);
  275. }
  276. // users = RedisDbconn.Instance.GetList<RecommandKingItem>("userstmp2024", 1, 999999).OrderByDescending(m => m.Level).ToList();
  277. users = users.OrderByDescending(m => m.Level).ToList();
  278. foreach(RecommandKingItem user in users)
  279. {
  280. function.WriteLog("kind:" + Kind + "--" + user.UserId.ToString() + "-" + user.UserLevel, "推荐王日志");
  281. int ActCount = 0;
  282. List<RecommandKingItem> subs = users.Where(m => m.ParentUserId == user.UserId).ToList();
  283. foreach(RecommandKingItem sub in subs)
  284. {
  285. function.WriteLog("kind:" + Kind + "--" + sub.UserId + ":" + sub.ActCount, "推荐王日志");
  286. if(sub.ActCount < CheckCount && sub.UserLevel < 5 && !Historys.Contains(sub.UserId))
  287. {
  288. ActCount += sub.ActCount;
  289. if(sub.Op) ActCount += 1;
  290. }
  291. }
  292. user.ActCount = ActCount;
  293. function.WriteLog("\n\n\n", "推荐王日志");
  294. }
  295. int num = 0;
  296. foreach(RecommandKingItem user in users)
  297. {
  298. bool op = true;
  299. if(Kind == 1)
  300. {
  301. op = !Historys.Contains(user.UserId);
  302. }
  303. if(op)
  304. {
  305. num += 1;
  306. KxsInviteKing item = db.KxsInviteKing.FirstOrDefault(m => m.UserId == user.UserId && m.TradeMonth == TradeMonthNum && m.Kind == Kind);
  307. if(item == null)
  308. {
  309. if(user.ActCount > 0)
  310. {
  311. function.WriteLog("入库-kind:" + Kind + "--" + user.UserId.ToString(), "推荐王日志");
  312. item = db.KxsInviteKing.Add(new KxsInviteKing()
  313. {
  314. UserId = user.UserId,
  315. TradeMonth = TradeMonthNum,
  316. StepNum = user.ActCount > CheckCount ? CheckCount : user.ActCount,
  317. Kind = Kind,
  318. }).Entity;
  319. }
  320. if(num % 200 == 0)
  321. {
  322. db.SaveChanges();
  323. }
  324. }
  325. }
  326. }
  327. db.SaveChanges();
  328. db.Dispose();
  329. statdb.Dispose();
  330. productdb.Dispose();
  331. mpdb.Dispose();
  332. mpdb2.Dispose();
  333. }
  334. public decimal GetTradeAmt(int UserId, string TradeMonth)
  335. {
  336. ReadModels.WebCMSEntities rdb = new ReadModels.WebCMSEntities();
  337. MpMainModels.WebCMSEntities mpmaindb = new MpMainModels.WebCMSEntities();
  338. MpMainModels2.WebCMSEntities mpmaindb2 = new MpMainModels2.WebCMSEntities();
  339. decimal TradeAmount = 0;
  340. //创客团队交易额
  341. bool check = rdb.TradeDaySummary.Any(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  342. if (check)
  343. {
  344. TradeAmount += rdb.TradeDaySummary.Where(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team").Sum(m => m.HelpNonDirectTradeAmt + m.HelpNonDirectDebitTradeAmt + m.NotHelpNonDirectTradeAmt + m.NotHelpNonDirectDebitTradeAmt + m.ProfitNonDirectTradeAmt + m.ProfitNonDirectDebitTradeAmt);
  345. }
  346. check = rdb.TradeDaySummary2.Any(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  347. if (check)
  348. {
  349. TradeAmount += rdb.TradeDaySummary2.Where(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team").Sum(m => m.ProfitTradeAmt + m.ProfitDebitTradeAmt);
  350. }
  351. //码牌团队交易额(直联)
  352. check = mpmaindb.UserAmountSummary.Any(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  353. if (check)
  354. {
  355. TradeAmount += mpmaindb.UserAmountSummary.Where(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.IsAct == 1).Sum(m => m.TotalAmount) * 4;
  356. }
  357. //码牌团队交易额(银联)
  358. check = mpmaindb2.UserAmountSummary.Any(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  359. if (check)
  360. {
  361. TradeAmount += mpmaindb2.UserAmountSummary.Where(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.IsAct == 1).Sum(m => m.TotalAmount) * 4;
  362. }
  363. //广电卡扶持期按1万/张计入职级
  364. check = rdb.UserTradeMonthSummary.Any(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.BrandId == 14);
  365. if (check)
  366. {
  367. TradeAmount += rdb.UserTradeMonthSummary.Where(m => m.UserId == UserId && m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.BrandId == 14).Sum(m => m.ActiveBuddyMerStatus) * 10000;
  368. }
  369. return TradeAmount;
  370. }
  371. public Dictionary<int, decimal> GetTradeAmtList(string TradeMonth)
  372. {
  373. Dictionary<int, decimal> dic = new Dictionary<int, decimal>();
  374. ReadModels.WebCMSEntities rdb = new ReadModels.WebCMSEntities();
  375. MpMainModels.WebCMSEntities mpmaindb = new MpMainModels.WebCMSEntities();
  376. MpMainModels2.WebCMSEntities mpmaindb2 = new MpMainModels2.WebCMSEntities();
  377. //创客团队交易额
  378. bool check = rdb.TradeDaySummary.Any(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  379. if (check)
  380. {
  381. var list = rdb.TradeDaySummary.Where(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team").ToList().GroupBy(m => m.UserId);
  382. foreach(var item in list)
  383. {
  384. int UserId = item.Key;
  385. decimal Amt = item.Sum(m => m.HelpNonDirectTradeAmt + m.HelpNonDirectDebitTradeAmt + m.NotHelpNonDirectTradeAmt + m.NotHelpNonDirectDebitTradeAmt + m.ProfitNonDirectTradeAmt + m.ProfitNonDirectDebitTradeAmt);
  386. if(!dic.ContainsKey(UserId))
  387. {
  388. dic.Add(UserId, Amt);
  389. }
  390. else
  391. {
  392. dic[UserId] += Amt;
  393. }
  394. }
  395. }
  396. check = rdb.TradeDaySummary2.Any(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  397. if (check)
  398. {
  399. var list = rdb.TradeDaySummary2.Where(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team").ToList().GroupBy(m => m.UserId);
  400. foreach(var item in list)
  401. {
  402. int UserId = item.Key;
  403. decimal Amt = item.Sum(m => m.ProfitTradeAmt + m.ProfitDebitTradeAmt);
  404. if(!dic.ContainsKey(UserId))
  405. {
  406. dic.Add(UserId, Amt);
  407. }
  408. else
  409. {
  410. dic[UserId] += Amt;
  411. }
  412. }
  413. }
  414. //码牌团队交易额(直联)
  415. check = mpmaindb.UserAmountSummary.Any(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  416. if (check)
  417. {
  418. var list = mpmaindb.UserAmountSummary.Where(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.IsAct == 1).ToList().GroupBy(m => m.UserId);
  419. foreach(var item in list)
  420. {
  421. int UserId = item.Key;
  422. decimal Amt = item.Sum(m => m.TotalAmount) * 4;
  423. if(!dic.ContainsKey(UserId))
  424. {
  425. dic.Add(UserId, Amt);
  426. }
  427. else
  428. {
  429. dic[UserId] += Amt;
  430. }
  431. }
  432. }
  433. //码牌团队交易额(银联)
  434. check = mpmaindb2.UserAmountSummary.Any(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team");
  435. if (check)
  436. {
  437. var list = mpmaindb2.UserAmountSummary.Where(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.IsAct == 1).ToList().GroupBy(m => m.UserId);
  438. foreach(var item in list)
  439. {
  440. int UserId = item.Key;
  441. decimal Amt = item.Sum(m => m.TotalAmount) * 4;
  442. if(!dic.ContainsKey(UserId))
  443. {
  444. dic.Add(UserId, Amt);
  445. }
  446. else
  447. {
  448. dic[UserId] += Amt;
  449. }
  450. }
  451. }
  452. //广电卡扶持期按1万/张计入职级
  453. check = rdb.UserTradeMonthSummary.Any(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.BrandId == 14);
  454. if (check)
  455. {
  456. var list = rdb.UserTradeMonthSummary.Where(m => m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.BrandId == 14).ToList().GroupBy(m => m.UserId);
  457. foreach(var item in list)
  458. {
  459. int UserId = item.Key;
  460. decimal Amt = item.Sum(m => m.ActiveBuddyMerStatus) * 10000;
  461. if(!dic.ContainsKey(UserId))
  462. {
  463. dic.Add(UserId, Amt);
  464. }
  465. else
  466. {
  467. dic[UserId] += Amt;
  468. }
  469. }
  470. }
  471. return dic;
  472. }
  473. public void StartTest()
  474. {
  475. Thread th = new Thread(StartTestFor);
  476. th.IsBackground = true;
  477. th.Start();
  478. }
  479. public void StartTestFor()
  480. {
  481. string check = function.ReadInstance("/RecommandKing/Repeat/202502.txt");
  482. if (string.IsNullOrEmpty(check))
  483. {
  484. function.WritePage("/RecommandKing/Repeat/", "202502.txt", DateTime.Now.ToString());
  485. Recommend("202502", 1);
  486. Recommend("202502", 2);
  487. }
  488. }
  489. }
  490. }