Commit 8d367cad by 冷斌

update

parent 0ae521a1
......@@ -494,7 +494,7 @@ class Model_Live extends PhalApi_Model_NotORM {
//用户 经验
$send_gift = !empty($set['send_gift']) ? $set['send_gift'] : 0;
$send_gift2 = !empty($set['send_gift2']) ? $set['send_gift2'] : 0;
$total2 = $total;
$total2 = 0;
if ($send_gift > 0) {
$send_gift3 = (int)($total / $send_gift);
$total2 += ($send_gift3 * $send_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