正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -356,7 +356,7 @@ class Rider extends Api | @@ -356,7 +356,7 @@ class Rider extends Api | ||
356 | if ($user['money'] < $money) $this->error('可提现金额不足'); | 356 | if ($user['money'] < $money) $this->error('可提现金额不足'); |
357 | $data = [ | 357 | $data = [ |
358 | 'user_id' => $this->auth->id, | 358 | 'user_id' => $this->auth->id, |
359 | - 'money' => $money, | 359 | + 'money' => -$money, |
360 | 'before' => $user->money, | 360 | 'before' => $user->money, |
361 | 'after' => $user->money-$money, | 361 | 'after' => $user->money-$money, |
362 | 'memo' => '提现' | 362 | 'memo' => '提现' |
-
请 注册 或 登录 后发表评论