Commit 18b1b165 by 冷斌

fix bug

parent 85c2b332
......@@ -1494,11 +1494,11 @@ class Api_Live extends PhalApi_Api {
$key='getGiftList';
$giftlist=getcaches($key);
// if(!$giftlist){
if(!$giftlist){
$domain = new Domain_Live();
$giftlist=$domain->getGiftList();
setcaches($key,$giftlist);
// }
}
$data = [];
foreach ($giftlist as $key => $item) {
if ($item['type'] == $this->type) {
......
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