wesmiler 3 달 전
부모
커밋
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,                // 手机号或账号