作者 anyv

4

... ... @@ -382,6 +382,8 @@ class PersonalcenterController extends WeChatBaseController{
}
$cumulative_money = $cumulative_money-$cumulative_money*0.006;
$money_ratio = Db::name('money_ratio') -> where('id',1) -> find();
$money_ratio['platform_ratio'] = $money_ratio['platform_ratio']*100;
$money_ratio['platform_ratio'] = $money_ratio['platform_ratio'].'%';
$this -> assign('money_ratio',$money_ratio);
$this -> assign('balance',$balance['balance']);
$this -> assign('cumulative_money',$cumulative_money);
... ...