Parcourir la source

订单支付-返回当前正在支付的订单id

whitefang il y a 1 an
Parent
commit
87038b842f
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      app/api/controller/PayController.php

+ 1 - 0
app/api/controller/PayController.php

@@ -73,6 +73,7 @@ class PayController extends BaseApiController
             return $this->fail(PaymentLogic::getError(), $params);
             return $this->fail(PaymentLogic::getError(), $params);
         }
         }
         $result['sn'] = $order['sn'];
         $result['sn'] = $order['sn'];
+        $result['order_id'] = $order['id'];
         return $this->success('', $result);
         return $this->success('', $result);
     }
     }