Commit 7a074c17 by 冷斌

update

parent 65e62503
...@@ -1083,7 +1083,7 @@ class Api_Live extends PhalApi_Api { ...@@ -1083,7 +1083,7 @@ class Api_Live extends PhalApi_Api {
$ph_time = DI()->redis->hGet('LivePH_timer', $pkuid); $ph_time = DI()->redis->hGet('LivePH_timer', $pkuid);
} }
if ($ph_time && $ph_time > 0 && $ph_time < $nowtime) { if ($ph_time && $ph_time > 0 && $ph_time < $nowtime) {
$chb = 2.5 * 60 - ($nowtime - $ph_time); $chb = 1.5 * 60 - ($nowtime - $ph_time);
$pkinfo['ph_time'] = (string) $chb; //惩罚剩余时间 $pkinfo['ph_time'] = (string) $chb; //惩罚剩余时间
} }
$ifpk=DI()->redis -> hGet('LivePK',$liveuid); $ifpk=DI()->redis -> hGet('LivePK',$liveuid);
......
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