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

5

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