地址添加问题修复

This commit is contained in:
evoxwht 2021-11-12 16:54:41 +08:00
parent b005e70e3f
commit fc72838b33

View File

@ -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 = [];
}