|
@@ -163,6 +163,7 @@ class Withdrawal extends Backend
|
|
|
if ($withdraw->status != 1) throw new \Exception('状态错误');
|
|
|
$withdraw->status = -1;
|
|
|
$withdraw->save();
|
|
|
+ \app\admin\model\Admin::money($withdraw->amount, $this->auth->id,'Withdrawal');
|
|
|
\app\admin\model\Admin::where("id", $withdraw->uid)->setInc("money", $withdraw->amount);
|
|
|
// \app\admin\model\Admin::update([
|
|
|
// 'money' => bcadd($withdraw->amount, 3, 4)
|