Commit d43a7c73 by 冷斌

fix bug

parent 18f273ec
...@@ -1576,14 +1576,15 @@ class Api_Live extends PhalApi_Api { ...@@ -1576,14 +1576,15 @@ class Api_Live extends PhalApi_Api {
} }
$key='getGiftList'; $key='getGiftList';
$giftlist=getcaches($key); // $giftlist=getcaches($key);
$domain = new Domain_Live(); $domain = new Domain_Live();
if(!$giftlist){ // if(!$giftlist){
// setcaches($key,$giftlist);
// }
$giftlist=$domain->getGiftList(); $giftlist=$domain->getGiftList();
setcaches($key,$giftlist);
}
$data = []; $data = [];
foreach ($giftlist as $key => $item) { foreach ($giftlist as $key => $item) {
......
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