wesmiler 1 week ago
parent
commit
a3862acd91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/PaymentService.php

+ 1 - 1
app/Services/PaymentService.php

@@ -1036,7 +1036,7 @@ class PaymentService extends BaseService
             return false;
         } catch (\Exception $exception) {
             RedisService::set("caches:payments:trabsfer:{$scene}_{$outTradeNo}_error", ['order' => $order,'error'=>$exception->getTrace(), 'config' => $this->config], 7200);
-            $this->error = $exception->getMessage();
+            $this->error = '打款失败:'.$exception->getMessage();
             return false;
         }
     }