Commit 274859de by 冷斌

fix bug

parent 86812dbb
......@@ -1580,12 +1580,10 @@ class Api_Live extends PhalApi_Api {
$domain = new Domain_Live();
// if(!$giftlist){
// setcaches($key,$giftlist);
// }
$giftlist=$domain->getGiftList();
setcaches($key,$giftlist);
if(!$giftlist){
$giftlist=$domain->getGiftList();
setcaches($key,$giftlist);
}
$data = [];
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