Commit 08c1dc19 by 冷斌

update

parent b6941b92
......@@ -849,13 +849,8 @@ class Model_Live extends PhalApi_Model_NotORM {
// $rate=0;
foreach($rateArray as $k=>$ratePre){
$luckrate = mt_rand(1000, $rateSum);
var_dump('rand:'. $luckrate);
var_dump('total:'. $rateSum);
var_dump('crrent:'. $ratePre);
if($luckrate <= $ratePre){
$v = $rateinfo[$k];
var_dump($v);
die;
/* 中奖 */
$isluck='1';
$isluckall=$v['isall'];
......
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