|
@@ -194,8 +194,7 @@ class OrderService
|
|
|
];
|
|
|
$userBindRes = $userService->userWallet($userParams);
|
|
|
if (!$userBindRes['status']) {
|
|
|
- Db::rollback();
|
|
|
- return false;
|
|
|
+ throw new Exception($userBindRes['msg']);
|
|
|
}
|
|
|
$userCarWhere['id'] = $carId;
|
|
|
$userCar = Db::name('user_car')->where($userCarWhere)->find();
|