1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using Business.KJH;
- using Cache;
- using Cache.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= LotteryCache.GetLottery();
- }
- public static void TypeList()
- {
- var list = LotteryCache.GetLotteryType();
- }
- public static void GetLotteryAdTJ()
- {
- var data=LotteryCache.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);// 试机号
- }
- }
- }
|