Commit f15afc5c by 冷斌

fix bug

parent 2e685732
...@@ -1094,6 +1094,8 @@ class Api_Live extends PhalApi_Api { ...@@ -1094,6 +1094,8 @@ class Api_Live extends PhalApi_Api {
$pkinfo['ph_time'] = (string) $chb; //惩罚剩余时间 $pkinfo['ph_time'] = (string) $chb; //惩罚剩余时间
} }
$ifpk=DI()->redis -> hGet('LivePK',$liveuid); $ifpk=DI()->redis -> hGet('LivePK',$liveuid);
var_dump($ifpk);
die;
if($ifpk){ if($ifpk){
$pkinfo['ifpk']='1'; $pkinfo['ifpk']='1';
$pk_time=DI()->redis -> hGet('LivePK_timer',$liveuid); $pk_time=DI()->redis -> hGet('LivePK_timer',$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