Commit 5c45d52c by 冷斌

update

parent b164a086
...@@ -821,7 +821,7 @@ class Model_Live extends PhalApi_Model_NotORM { ...@@ -821,7 +821,7 @@ class Model_Live extends PhalApi_Model_NotORM {
// $rateinfo[]=$v; // $rateinfo[]=$v;
// } // }
if($v['giftid']==$giftid){ if($v['giftid']==$giftid){
$rr = (int)$v['rate']*1000; $rr = floor($v['rate']*1000);
$rateinfo[$rr]=$v; $rateinfo[$rr]=$v;
} }
} }
...@@ -841,6 +841,8 @@ class Model_Live extends PhalApi_Model_NotORM { ...@@ -841,6 +841,8 @@ class Model_Live extends PhalApi_Model_NotORM {
$isluckall='0'; $isluckall='0';
$luckcoin='0'; $luckcoin='0';
$lucktimes='0'; $lucktimes='0';
var_dump(rand(1,100000), $rateinfo);
die;
if($ifluck ==1 ){ if($ifluck ==1 ){
$luckrate=rand(1,100000); $luckrate=rand(1,100000);
//file_put_contents('./zhifu.txt',date('Y-m-d H:i:s').' 提交参数信息 luckrate:'.json_encode($luckrate)."\r\n",FILE_APPEND); //file_put_contents('./zhifu.txt',date('Y-m-d H:i:s').' 提交参数信息 luckrate:'.json_encode($luckrate)."\r\n",FILE_APPEND);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment