kevin_zhangl 2 жил өмнө
parent
commit
031c632536

+ 1 - 1
frontendApi/modules/v1/controllers/ShopController.php

@@ -426,7 +426,7 @@ class ShopController extends BaseController {
 //        $amount = number_format(1, 2, '.', ''); // TODO: 测试
         $paymentParams['Amount'] = str_replace('.', '', $amount);
         // (Optional) (int)
-        $paymentParams['PaymentId'] = '182';   // 2=信用卡 182=银联
+        $paymentParams['PaymentId'] = '2';   // 2=信用卡 182=银联
         // Product description. (length 100)
         $paymentParams['ProdDesc'] = 'Pay for sales';
         // Customer name. (length 100)