Ken 2 周之前
父節點
當前提交
7984db5520
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/admin/Withdraw.php

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

@@ -172,7 +172,7 @@ class Withdraw extends Controller
             return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
         } catch (Exception $e) {
             DB::rollBack();
-            return $this->error(intval($e->getCode()), $e->getMessage());
+            return $this->error($e->getCode(), $e->getMessage());
         }
         return $this->success();
     }