Sfoglia il codice sorgente

跨境商品复查api修改

kevin_zhangl 2 anni fa
parent
commit
57ea8d1967
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      frontendApi/modules/v1/controllers/ShopController.php

+ 2 - 0
frontendApi/modules/v1/controllers/ShopController.php

@@ -429,6 +429,8 @@ class ShopController extends BaseController {
 
                 switch ($result) {
                     case '00':  // Successful payment.
+                        ApproachOrder::updateAll(['REMARK' => '00: Successful payment'], 'SN=:SN', [':SN' => $order['SN']]);
+
                         $paymentParams = [
                             'RefNo' => $orderPayment['RefNo'],
                             'Amount' => $orderPayment['Amount'],