1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using Business.KJH;
- using Cache;
- using Common;
- using Models;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace M55128_rec.Business
- {
- public static class KJApiBLL
- {
- // private static LogHelper log = null;
- static KJApiBLL()
- {
- // log = new LogHelper();
- }
- public static List<LotteryData> GetLottery()
- {
- List<LotteryData> list = new List<LotteryData>();
- try
- {
- list = AppCtrl.GetObj().GetLotteryCache().GetLottery();//
- // Ctrl.GetLottery();
- }
- catch (Exception ee)
- {
- LogHelper.Error(typeof(KJApiBLL), ee.Message + "GetLottery");
- }
- return list;
- }
- public static LotteryData GetLottery(string typename)
- {
- return AppCtrl.GetObj().GetLotteryCache().GetLottery(typename);
- }
- public static KaijiangDetailsEntity GetKaijiangEntity(string type, string id)
- {
- return KJBLL.GetKaijiangEntity(type, id);
- }
-
- }
- }
|