Commit 256795e4 by 冷斌

fix bug

parent 4a276236
...@@ -542,6 +542,8 @@ class Model_Live extends PhalApi_Model_NotORM { ...@@ -542,6 +542,8 @@ class Model_Live extends PhalApi_Model_NotORM {
->select("type,mark,giftname,gifticon,needcoin,swftype,swf,swftime,votes") ->select("type,mark,giftname,gifticon,needcoin,swftype,swf,swftime,votes")
->where('id=?',$gift['giftid']) ->where('id=?',$gift['giftid'])
->fetchOne(); ->fetchOne();
var_dump($giftinfo);
die;
if(!$giftinfo){ if(!$giftinfo){
/* 礼物信息不存在 */ /* 礼物信息不存在 */
return []; return [];
......
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