541469799@qq.com 1 рік тому
батько
коміт
5480806bc9
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/index/controller/Cart.php

+ 1 - 1
app/index/controller/Cart.php

@@ -75,7 +75,7 @@ class Cart extends Controller
         $res['states50'] = $states50;
 
         if (!empty($user['address_id'])) {
-            $addr = UserAddress::detail($user['address_id']);
+            $addr = UserAddress::detailInner($user['address_id']);
             if ($addr) {
                 $res['addressId'] = $addr['address_id'];
                 $res['full'] = $addr['detail'] . ',' . $addr['city'] . ',' . $addr['region']['region'] . '(' . $addr['zip_code'] . '),US';