浏览代码

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

kevin 1 年之前
父节点
当前提交
2913188486
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backendApi/modules/v1/controllers/TransportationController.php

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

@@ -32,7 +32,7 @@ class TransportationController extends BaseController
         foreach ($countries as &$country) {
             $country['freight'] = $transportation[$country['ID']]['freight'] ?? 0;
             $country['free_shipping'] = $transportation[$country['ID']]['free_shipping'] ?? 0;
-            $country['currency'] = $this->countiesModelClass->getCurrency($country['ID']['LOCAL_CURRENCY_ID']);
+            $country['currency'] = $this->countiesModelClass::getCurrency($country['ID']['LOCAL_CURRENCY_ID']);
         }
 
         return static::notice(['data' => $countries]);