diff --git a/app/Models/Address.php b/app/Models/Address.php index c3ca131..44e0a5c 100644 --- a/app/Models/Address.php +++ b/app/Models/Address.php @@ -279,6 +279,7 @@ class Address extends Model ->where('region_id',$this->region_id) ->where('host_id',$this->host_id) ->where('node_id',0)) + ->where('role','<',$this->role) ->single(); break;