Commit 2516e70b by 冷斌

fix bug

parent 8eb532b1
...@@ -1098,7 +1098,7 @@ class Api_Live extends PhalApi_Api { ...@@ -1098,7 +1098,7 @@ class Api_Live extends PhalApi_Api {
$pk_time_start = $ph_time - 5*60; $pk_time_start = $ph_time - 5*60;
$pk_time_end = $ph_time; $pk_time_end = $ph_time;
} }
$pkinfo['ifpk']=DI()->redis -> hGet('LivePK',$liveuid); $pkinfo['ifpk']=DI()->redis -> hGet('LivePK',$liveuid) ? '1' : '0';
$pk_time=DI()->redis -> hGet('LivePK_timer',$liveuid); $pk_time=DI()->redis -> hGet('LivePK_timer',$liveuid);
if(!$pk_time){ if(!$pk_time){
......
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