Commit fd4cecc9 by 冷斌

fix bug

parent a69535c2
...@@ -603,7 +603,7 @@ class Model_Live extends PhalApi_Model_NotORM { ...@@ -603,7 +603,7 @@ class Model_Live extends PhalApi_Model_NotORM {
//主播 经验 //主播 经验
$get_gift = !empty($set['get_gift']) ? $set['get_gift'] : 0; $get_gift = !empty($set['get_gift']) ? $set['get_gift'] : 0;
$get_gift2 = !empty($set['get_gift2']) ? $set['get_gift2'] : 0; $get_gift2 = !empty($set['get_gift2']) ? $set['get_gift2'] : 0;
$total3 = $randomGift['needcoin']; $total3 = $anthor_total;
if ($get_gift > 0) { if ($get_gift > 0) {
$get_gif3 = (int)($total / $get_gift); $get_gif3 = (int)($total / $get_gift);
$total3 += ($get_gif3 * $get_gift2); $total3 += ($get_gif3 * $get_gift2);
......
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