private void ajaxGetNum() { switch (this.Str2Int(this.q("flag"), 0)) { case 1001: this.GetLotteryNumber("cqssc"); break; case 1003: this.GetLotteryNumber("xjssc"); break; case 1004: this.GetLotteryNumberYoule(1004); break; case 1007: this.GetLotteryNumber("tjssc"); break; case 1008: this.GetLotteryNumber("ynssc"); break; case 1009: this.GetLotteryNumberYoule(1009); break; case 1010: this.GetLotteryNumberYoule(1010); break; case 1011: this.GetLotteryNumberYoule(1011); break; case 1012: this.GetLotteryNumberYoule(1012); break; case 1013: this.GetLotteryNumber("twbingo"); break; case 1014: this.GetLotteryNumber("jpkeno"); break; case 1015: this.GetLotteryNumber("phkeno"); break; case 1016: this.GetLotteryNumberYoule(1016); break; case 1017: this.GetLotteryNumber("krkeno"); break; case 2001: this.GetLotteryNumber("sd11x5"); break; case 2002: this.GetLotteryNumber("gd11x5"); break; case 2003: this.GetLotteryNumber("sh11x5"); break; case 2004: this.GetLotteryNumber("jx11x5"); break; case 3001: this.GetLotteryNumber("shssl"); break; case 3002: Fc3dData.Fc3d(); break; case 3003: Tcp3Data.Tcp3(); break; case 3004: this.GetLotteryNumber("krkeno"); break; case 4001: this.GetLotteryNumber("bjpk10"); break; } this._response = this.JsonResult(1, "获取号码成功"); }
private void ajaxGetNum() { int num = base.Str2Int(base.q("flag"), 0); int num2 = num; if (num2 <= 2005) { switch (num2) { case 1001: this.GetLotteryNumber("cqssc"); break; case 1002: break; case 1003: this.GetLotteryNumber("xjssc"); break; case 1004: this.GetLotteryNumberYoule(1004); break; case 1005: break; case 1006: break; case 1007: this.GetLotteryNumber("tjssc"); break; case 1008: this.GetLotteryNumber("ynssc"); break; case 1009: this.GetLotteryNumberYoule(1009); break; case 1010: this.GetLotteryNumberYoule(1010); break; case 1011: this.GetLotteryNumberYoule(1011); break; case 1012: this.GetLotteryNumberYoule(1012); break; case 1013: this.GetLotteryNumber("twbingo"); break; case 1014: this.GetLotteryNumber("jpkeno"); break; case 1015: this.GetLotteryNumber("phkeno"); break; case 1016: this.GetLotteryNumberYoule(1016); break; case 1017: this.GetLotteryNumber("krkeno"); break; default: switch (num2) { case 2001: this.GetLotteryNumber("sd11x5"); break; case 2002: this.GetLotteryNumber("gd11x5"); break; case 2003: this.GetLotteryNumber("sh11x5"); break; case 2004: this.GetLotteryNumber("jx11x5"); break; } break; } } else { switch (num2) { case 3001: this.GetLotteryNumber("shssl"); break; case 3002: Fc3dData.Fc3d(); break; case 3003: Tcp3Data.Tcp3(); break; case 3004: this.GetLotteryNumber("krkeno"); break; case 3005: break; case 3006: break; default: if (num2 == 4001) { this.GetLotteryNumber("bjpk10"); } break; } } this._response = base.JsonResult(1, "获取号码成功"); }