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

5

@@ -358,7 +358,7 @@ class PersonalcenterController extends WeChatBaseController{ @@ -358,7 +358,7 @@ class PersonalcenterController extends WeChatBaseController{
358 358
359 $uid = cmf_get_current_user_id(); 359 $uid = cmf_get_current_user_id();
360 $balance = Db::name('my_user') -> where("uid",$uid) -> find(); 360 $balance = Db::name('my_user') -> where("uid",$uid) -> find();
361 - $balance['balance'] = $balance['balance']*0.006; 361 + $balance['balance'] = $balance['balance'] - $balance['balance']*0.006;
362 $this -> assign('balance',$balance['balance']); 362 $this -> assign('balance',$balance['balance']);
363 return $this -> fetch(); 363 return $this -> fetch();
364 364