修复 判断余额的问题

This commit is contained in:
iVampireSP.com 2022-10-28 22:34:23 +08:00
parent 9b0465fbeb
commit 9f5909e30e
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -41,7 +41,7 @@ public function store(Request $request)
//
$user = User::findOrFail($request->user_id);
if ($user->balance <= 1) {
if ($user->balance < 1) {
return $this->error('此用户余额不足,无法开设计费项目。');
}