Procházet zdrojové kódy

地址添加问题修复

evoxwht před 4 roky
rodič
revize
fc72838b33
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      crmeb/app/services/user/UserAddressServices.php

+ 1 - 1
crmeb/app/services/user/UserAddressServices.php

@@ -166,7 +166,7 @@ class UserAddressServices extends BaseServices
     {
         if ($addressInfo['id'] == 0) {
             if (isset($addressInfo['address']['city_id'])) {
-                $where['city_id'] = $addressInfo['address']['city_id'];
+                $where[] = ['city_id', '=', $addressInfo['address']['city_id']];
             } else {
                 $where = [];
             }