Commit b6ac8145 by 冷斌

update

parent 5c45d52c
......@@ -842,7 +842,6 @@ class Model_Live extends PhalApi_Model_NotORM {
$luckcoin='0';
$lucktimes='0';
var_dump(rand(1,100000), $rateinfo);
die;
if($ifluck ==1 ){
$luckrate=rand(1,100000);
//file_put_contents('./zhifu.txt',date('Y-m-d H:i:s').' 提交参数信息 luckrate:'.json_encode($luckrate)."\r\n",FILE_APPEND);
......@@ -852,6 +851,8 @@ class Model_Live extends PhalApi_Model_NotORM {
$rate=floor($v['rate']*1000);
//file_put_contents('./zhifu.txt',date('Y-m-d H:i:s').' 提交参数信息 rate:'.json_encode($rate)."\r\n",FILE_APPEND);
if($luckrate <= $rate){
var_dump('中奖');
var_dump($v);
/* 中奖 */
$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