callback
This commit is contained in:
parent
8dea0e2caf
commit
e7fa513f18
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user