Sfoglia il codice sorgente

海外商品支付调试

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

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

@@ -423,10 +423,8 @@ class ShopController extends BaseController {
         $exchangeRateMYR = floatval(Cache::getSystemConfig()['exchangeRateMYR']['VALUE'] ?? 0);
         // 计算马来币
         $amount = number_format($money * $exchangeRateMYR, 2, '.', '');
-        LoggerTool::info(['overseasAmount', $money, $exchangeRateMYR, $amount]);
-        $amount = number_format(1, 2, '.', ''); // TODO: 测试
+//        $amount = number_format(1, 2, '.', ''); // TODO: 测试
         $paymentParams['Amount'] = str_replace('.', '', $amount);
-
         // (Optional) (int)
         $paymentParams['PaymentId'] = '2';   // TODO: 2=MYR
         // Product description. (length 100)