This commit is contained in:
Hankin 2026-04-23 17:39:44 +08:00
parent 585acf2159
commit 21a5700d6d

View File

@ -644,6 +644,7 @@ class EarningController extends Controller
} else {
throw new Exception("提现失败");
}
return $this->success('ok', ['status' => 1, "package_info" => $res["package_info"], "app_id" => "wx36c72a00f1b2be64", "mch_id" => "1581903621"]);
// //修改账号状态
// $earning_account->decrement('frozen_withdraw', $amount);
@ -653,7 +654,7 @@ class EarningController extends Controller
// $this->sendWithdrawNotice($earning_account, $withdraw);
}
DB::commit();
return $this->success('ok', ['status' => 1, "package_info" => $res["package_info"], "app_id" => "wx36c72a00f1b2be64", "mch_id" => "1581903621"]);
return $this->success('ok', ['status' => 1]);
} catch (Exception $e) {
DB::rollBack();
$this->getError($e);