wesmiler 3 месяцев назад
Родитель
Сommit
ed20c304f2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/DyrPayService.php

+ 1 - 1
app/Services/DyrPayService.php

@@ -73,7 +73,7 @@ class DyrPayService extends BaseService
 
         $param = [
             'userid' => $this->apiClientId,             // 商户ID
-            'product_id' => $productId,             // 产品ID
+            'product_id' => trim($productId),             // 产品ID
             'out_trade_num' => $no,     // 单号
             'amount' => $amount,                // 金额
             'mobile' => $account,                // 手机号或账号