同时查询多个库 class ApiLogModel extends Model{ protected $table = 'apilog';//表名,不带前缀 protected $tablePrefix = 'pre_';//假设配置中的前缀不为pre_,这边单独配置表前缀}