Commit 746812d3 by 冷斌

fix bug

parent b5cc7444
......@@ -1519,13 +1519,13 @@ class Api_Live extends PhalApi_Api {
$giftlist=$domain->getGiftList();
setcaches($key,$giftlist);
}
$data = [];
foreach ($giftlist as $key => $item) {
if ($item['type'] == $this->type) {
$data[] = $item;
}
}
$giftlist = $data;
// $data = [];
// foreach ($giftlist as $key => $item) {
// if ($item['type'] == $this->type) {
// $data[] = $item;
// }
// }
// $giftlist = $data;
$domain2 = new Domain_User();
$coin=$domain2->getBalance($uid);
......
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