Commit 5c4c218f by 冷斌

fix bug

parent 19f28cc7
......@@ -1675,7 +1675,7 @@ class Api_Live extends PhalApi_Api {
unset($result['welfare']['gifttoken']);
unset($result['gift']['gifttoken']);
DI()->redis -> set($rs['info'][0]['gifttoken']['welfare'],json_encode($result['welfare']));
// DI()->redis -> set($rs['info'][0]['gifttoken']['welfare'],json_encode($result['welfare']));
DI()->redis -> set($rs['info'][0]['gifttoken']['gift'],json_encode($result['gift']));
return $rs;
......
......@@ -662,8 +662,10 @@ class Model_Live extends PhalApi_Model_NotORM {
$result2=array(
"uid"=>$uid,
"giftid"=>$randomGift['id'],
"type"=>$randomGift['type'],
"mark"=>$randomGift['mark'],
// "type"=>$randomGift['type'],
// "mark"=>$randomGift['mark'],
'type' => 1,
'mark' => 4,
"giftcount"=>1,
"totalcoin"=>$randomGift['needcoin'],
"giftname"=>$randomGift['giftname'],
......
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