12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using Business.KJH;
- using Cache;
- using KJH55128_Rec.ViewModels;
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Web;
- namespace KJH55128_Rec.Business.Test
- {
- public static class TestBLL
- {
- public static void lotteryDatalist()
- {
- var list= AppCtrl.GetObj().GetLotteryCache().GetLottery();
- }
- public static void TypeList()
- {
- var list = AppCtrl.GetObj().GetLotteryCache().GetLotteryType();
- }
- public static void GetLotteryAdTJ()
- {
- var data=AppCtrl.GetObj().GetLotteryCache().GetLotteryListAdKjTimeCache();
- }
- public static void GetLotteryListSingle()
- {
- //SCCLottery.DF_DF6J1
- //var data = KJApiBLL.GetLotteryList("DF_DF6J1", 10);
- var data = KJApiBLL.GetLotteryList("QG_TCP3", 50,0,null,null,0,true);// 查天数
- var data2 = KJApiBLL.GetLotteryList("QG_FC3D", 0, 0, "Term", null, 10, true);//查倒数多少条
- Dictionary<string, object> dict = new Dictionary<string, object>();
- dict["Num"] = 2011025;
-
- var data3 = KJApiBLL.GetLotteryList("QG_FC3D", 0,0,null,dict); //查期号
- Dictionary<string, object> dict2 = new Dictionary<string, object>();
- dict2["MinYear"] = 2017;
- dict2["MaxYear"] = 2018;
- var data4 = KJApiBLL.GetLotteryList("QG_FC3D", 0, 0, null, dict2);//查一年
- Dictionary<string, object> dict4 = new Dictionary<string, object>();
- dict4["MinTerm"] = 2018002;
- dict4["MaxTerm"] = 2018034;
- var data5 = KJApiBLL.GetLotteryList("QG_FC3D", 0, 0, null, dict4);//查期号段
- var dataa = KJApiBLL.GetLotteryListKaiJiHao("QG_TCP3", 50, 0, null, null, 0, true);// 开机号
- var datab = KJApiBLL.GetLotteryListShiJiHao("QG_TCP3", 50, 0, null, null, 0, true);// 试机号
- }
- }
- }
|