作者 anyv
1 个管道 的构建 通过 耗费 0 秒

5

... ... @@ -375,7 +375,7 @@ class PersonalcenterController extends WeChatBaseController{
foreach ($money_expend as $key => $val){
$money += $val['money'];
}
$money = $money-$money*0.006;
$this -> assign('status',$balance['status']);
$this -> assign('money',$money);
return $this -> fetch();
... ... @@ -572,6 +572,7 @@ class PersonalcenterController extends WeChatBaseController{
foreach ($indent_money as $key => $val){
$total_money += $val['money'];
}
$total_money = $total_money-$total_money*0.006;
$this -> assign('total_money',$total_money);
//显示学校年级
$school = Db::name('school') -> where('uid',$uid) -> select();
... ...