KJApiBLL.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Business.KJH;
  2. using Cache;
  3. using Cache.Cache;
  4. using Common;
  5. using Models;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Linq;
  9. using System.Web;
  10. namespace M55128_rec.Business
  11. {
  12. public static class KJApiBLL
  13. {
  14. // private static LogHelper log = null;
  15. static KJApiBLL()
  16. {
  17. // log = new LogHelper();
  18. }
  19. public static List<LotteryData> GetLottery()
  20. {
  21. List<LotteryData> list = new List<LotteryData>();
  22. try
  23. {
  24. list = LotteryCache.GetLottery();//
  25. // Ctrl.GetLottery();
  26. }
  27. catch (Exception ee)
  28. {
  29. LogHelper.Error(typeof(KJApiBLL), ee.Message + "GetLottery");
  30. }
  31. return list;
  32. }
  33. public static LotteryData GetLottery(string typename)
  34. {
  35. return LotteryCache.GetLottery(typename);
  36. }
  37. public static KaijiangDetailsEntity GetKaijiangEntity(string type, string id)
  38. {
  39. return KJBLL.GetKaijiangEntity(type, id);
  40. }
  41. }
  42. }