This commit is contained in:
Hankin 2026-04-27 09:44:11 +08:00
parent 8dea0e2caf
commit e7fa513f18

View File

@ -734,6 +734,7 @@ class EarningController extends Controller
$withdraw->update(['status' => 'canceled']); $withdraw->update(['status' => 'canceled']);
} }
DB::commit(); DB::commit();
return $this->failure("ok");
} catch (Exception $e) { } catch (Exception $e) {
DB::rollBack(); DB::rollBack();
$this->getError($e); $this->getError($e);