123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- /**
- * Created by PhpStorm.
- * User: stanley-king
- * Date: 2018/1/15
- * Time: 下午6:56
- */
- function get_award($no)
- {
- $no = $no - 1;
- $result = [];
- if($no == 0) {
- $result[] = ['type' => 'fcode','command_id' => 4148,'batch_code' =>'NHJ001'];
- }
- elseif($no == 1) {
- $result[] = ['type' => 'fcode','command_id' => 4151,'batch_code' =>'NHJ002'];
- }
- elseif($no == 2) {
- $result[] = ['type' => 'fcode','command_id' => 4152,'batch_code' =>'NHJ003'];
- }
- elseif($no == 3) {
- $result[] = ['type' => 'fcode','command_id' => 4153,'batch_code' =>'NHJ004'];
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- elseif($no == 4) {
- $result[] = ['type' => 'fcode','command_id' => 4154,'batch_code' =>'NHJ005'];
- $result[] = ['type' => 'bonus','type_sn' => '38901516016673640442'];
- }
- elseif($no == 5) {
- $result[] = ['type' => 'fcode','command_id' => 4155,'batch_code' =>'NHJ006'];
- $result[] = ['type' => 'bonus','type_sn' => '98851516016812213578'];
- }
- elseif($no == 6) {
- $result[] = ['type' => 'fcode','command_id' => 4156,'batch_code' =>'NHJ007'];
- $result[] = ['type' => 'bonus','type_sn' => '60581516023148939895'];
- }
- elseif($no == 7) {
- $result[] = ['type' => 'fcode','command_id' => 4157,'batch_code' =>'NHJ008'];
- $result[] = ['type' => 'bonus','type_sn' => '75991516016938448012'];
- }
- //以下全是红包
- elseif($no == 8) {
- $result[] = ['type' => 'bonus','type_sn' => '67741516017011997440'];
- }
- //游戏奖
- elseif($no == 9) {
- $result[] = ['type' => 'bonus','type_sn' => '63131516017063433655'];
- }
- //赛车
- elseif($no == 10) {
- $result[] = ['type' => 'bonus','type_sn' => '11891516017132219556'];
- }
- //数钱
- elseif($no == 11) {
- $result[] = ['type' => 'bonus','type_sn' => '97361516017200568325'];
- }
- elseif($no == 12) {
- $result[] = ['type' => 'fcode','command_id' => 2820,'batch_code' =>'NHJP01'];
- $result[] = ['type' => 'bonus','type_sn' => '75411516018646807641'];
- }
- else {
- }
- return $result;
- }
|