Commit c18a7503 by 冷斌

fix bug

parent 7d945a83
...@@ -1112,8 +1112,8 @@ class Api_Live extends PhalApi_Api { ...@@ -1112,8 +1112,8 @@ class Api_Live extends PhalApi_Api {
} }
// $pk_gift_pkuid=DI()->redis -> hGet('LivePK_gift',$pkuid); // $pk_gift_pkuid=DI()->redis -> hGet('LivePK_gift',$pkuid);
$pk_gift_pkuid = $result=DI()->notorm->users_coinrecord->where($where . " and touid = {$pkuid}")->sum('totalcoin2'); $pk_gift_pkuid = $result=DI()->notorm->users_coinrecord->where($where . " and touid = {$pkuid}")->sum('totalcoin2');
// var_dump($pk_gift_liveuid, $pk_gift_pkuid); var_dump($pk_gift_liveuid, $pk_gift_pkuid);
// die; die;
if($pk_gift_pkuid){ if($pk_gift_pkuid){
$pkinfo['pk_gift_pkuid']=(string)$pk_gift_pkuid; $pkinfo['pk_gift_pkuid']=(string)$pk_gift_pkuid;
} }
......
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