Ken 1 долоо хоног өмнө
parent
commit
e124280fde

+ 1 - 1
app/Http/Controllers/admin/Withdraw.php

@@ -174,6 +174,6 @@ class Withdraw extends Controller
             DB::rollBack();
             return $this->error(intval($e->getCode()), $e->getMessage());
         }
-        return $this->success($res);
+        return $this->success();
     }
 }

+ 1 - 1
app/Services/WithdrawService.php

@@ -630,7 +630,7 @@ class WithdrawService
         $text .= "提现地址:{$w->address}\n\n";
         $text .= "状态:{$arr[$w->status]}\n";
         if ($w->remark) $text .= "说明:{$w->remark}";
-        $res = WithdrawService::notify([
+        WithdrawService::notify([
             'chat_id' => $w->member_id,
             'text' => $text,
         ]);