wupengfei il y a 2 ans
Parent
commit
30bfe99660
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      addons/shopro/model/UserWalletApply.php

+ 1 - 1
addons/shopro/model/UserWalletApply.php

@@ -264,7 +264,7 @@ class UserWalletApply extends Model
         // 3.发起付款 
         try {
             list($code, $response) = $pay->transfer($payload);
-
+            throw \Exception($code);
             if ($code === 1) {
                 $apply->payment_json = json_encode($response, JSON_UNESCAPED_UNICODE);
                 $apply->save();