Explorar o código

地址添加问题修复

evoxwht %!s(int64=4) %!d(string=hai) anos
pai
achega
fc72838b33
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [];
             }