Просмотр исходного кода

feat: NG-15: 新会员注册时增加国家与语言选项.

kevin 1 год назад
Родитель
Сommit
59ff3d20d9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      backendApi/modules/v1/controllers/TransportationController.php

+ 1 - 1
backendApi/modules/v1/controllers/TransportationController.php

@@ -33,7 +33,7 @@ class TransportationController extends BaseController
             $country['freight'] = $transportation[$country['ID']]['freight'] ?? 0;
             $country['free_shipping'] = $transportation[$country['ID']]['free_shipping'] ?? 0;
             $country['currency_id'] = $transportation[$country['ID']]['currency_id'] ?? 0;
-            $country['currency'] = $currencies[$transportation[$country['ID']]['currency_id']]['NAME'] ?? '';
+//            $country['currency'] = $currencies[$transportation[$country['ID']]['currency_id']]['NAME'] ?? '';
         }
 
         return static::notice(['data' => $countries]);