Commit e9e4dbf9 by 冷斌

fix bug

parent 4662b5c3
...@@ -1602,7 +1602,7 @@ class Api_Live extends PhalApi_Api { ...@@ -1602,7 +1602,7 @@ class Api_Live extends PhalApi_Api {
'type' => 0, 'type' => 0,
'mark' => 4, 'mark' => 4,
'giftname' => '宝箱', 'giftname' => '宝箱',
'needcoin' => $welfare['rate'], 'needcoin' => (int)$welfare['rate'],
]; ];
} }
...@@ -1693,7 +1693,6 @@ class Api_Live extends PhalApi_Api { ...@@ -1693,7 +1693,6 @@ class Api_Live extends PhalApi_Api {
DI()->redis -> set($rs['info'][0]['gifttoken'],json_encode($result)); DI()->redis -> set($rs['info'][0]['gifttoken'],json_encode($result));
$info=getUserInfo($liveuid); $info=getUserInfo($liveuid);
$rs['info'][0]['liveuinfo'] = $info; $rs['info'][0]['liveuinfo'] = $info;
$rs['data22'] = $result;
// if(!$info){ // if(!$info){
// $rs['info'][0]['liveuinfo'] = $info; // $rs['info'][0]['liveuinfo'] = $info;
......
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