|
@@ -58,11 +58,12 @@ class WxpayController
|
|
|
|
|
|
Db::commit();
|
|
|
return json_success('', json_decode($wxpay, true));
|
|
|
- } catch (BusinessException $e) {
|
|
|
+ } catch (PayException $e) {
|
|
|
Db::rollBack();
|
|
|
return json_fail($e->getMessage());
|
|
|
} catch (\Exception $e) {
|
|
|
Db::rollBack();
|
|
|
+ dump($e->getMessage());
|
|
|
return json_fail('下单失败');
|
|
|
}
|
|
|
|