Commit fa117fc2 by 冷斌

fix bug

parent 99b13f97
......@@ -1579,12 +1579,15 @@ class Api_Live extends PhalApi_Api {
$giftlist=getcaches($key);
$domain = new Domain_Live();
// if(!$giftlist){
// setcaches($key,$giftlist);
// }
$giftlist=$domain->getGiftList();
var_dump($giftlist);
die;
if(!$giftlist){
$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