Commit 1d7a4830 by 冷斌

update

parent 978650c7
......@@ -851,18 +851,20 @@ class Model_Live extends PhalApi_Model_NotORM {
$anthor_total=$total;
var_dump('最初: ' . $anthor_total);
/* 幸运礼物分成 */
if($giftinfo['type']==0 && $giftinfo['mark']==3){
$jackpotset=getJackpotSet();
$anthor_total=floor($anthor_total*$jackpotset['luck_anchor']*0.01);
}
var_dump('幸运礼物分成: ' . $anthor_total);
/* 幸运礼物分成 */
/* 家族分成之后的金额 */
$anthor_total=setFamilyDivide($liveuid,$anthor_total);
var_dump('家族分成之后的金额: ' . $anthor_total);
die;
//主播 经验
$get_gift = !empty($set['get_gift']) ? $set['get_gift'] : 0;
$get_gift2 = !empty($set['get_gift2']) ? $set['get_gift2'] : 0;
......
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