正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论