Commit 5be3ba39 by 冷斌

fix bug

parent b9d082a0
......@@ -851,17 +851,14 @@ class Model_Live extends PhalApi_Model_NotORM {
$anthor_total=$total;
var_dump('init: ' . $anthor_total);
/* 幸运礼物分成 */
if($giftinfo['type']==0 && $giftinfo['mark']==3){
$jackpotset=getJackpotSet();
$anthor_total=floor($anthor_total*$jackpotset['luck_anchor']*0.01);
//$anthor_total=floor($anthor_total*$jackpotset['luck_anchor']*0.01);
}
/* 幸运礼物分成 */
var_dump('out: ' . $anthor_total);
var_dump($giftinfo);
die;
/* 家族分成之后的金额 */
$anthor_total=setFamilyDivide($liveuid,$anthor_total);
//主播 经验
......
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