Commit 2e7a6532 by 冷斌

fix bug

parent 337997e3
...@@ -1590,6 +1590,15 @@ class Api_Live extends PhalApi_Api { ...@@ -1590,6 +1590,15 @@ class Api_Live extends PhalApi_Api {
} }
} }
$giftlist = $data; $giftlist = $data;
$welfare = DI()->notorm->welfare_rate->select('rate')->where('id=1')->fetchOne();
$info['welfare_price'] = $welfare['rate'];
$giftlist[] = [
'type' => 0,
'mark' => 4,
'name' => '宝箱',
'price' => $welfare['rate'],
];
$domain2 = new Domain_User(); $domain2 = new Domain_User();
$coin=$domain2->getBalance($uid); $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