No suitable servers found (`serverselectiontryonce` set): [connection timeout calling ismaster on '127.0.0.1:3306'] use Jenssegers\Mongodb\Eloquent\HybridRelations; use Jenssegers\Mongodb\Eloquent\Model as Eloquent; class Goods extends Eloquent { use HybridRelations; protected $connection = 'mongodb'; // protected $connection = 'mysql'; protected $collection = 'tbke_goods'; // zk_final_price 价格 // volume 销量 // tk_rate //佣金比例 /** \* 批量往mongo中存入数据 \* @param $datas \* @return bool */