Update PaymentService.php

This commit is contained in:
邹景立 2025-03-03 23:34:03 +08:00
parent 5099f49b00
commit f176fea5c7

View File

@ -181,6 +181,7 @@ class PaymentService
} }
return response('success'); return response('success');
} catch (\Exception $exception) { } catch (\Exception $exception) {
empty($data['code']) || self::query($data['code']);
return json(['code' => 'FAIL', 'message' => $exception->getMessage()])->code(500); return json(['code' => 'FAIL', 'message' => $exception->getMessage()])->code(500);
} }
} }