public function products(){
return $this->hasMany('product','s_id','id')->field('price');
}public static function getShopsByContent($wd){
self::$wd = $wd;
$results = self::with('products')->where('name','like','%'.$wd.'%')->select();
return $results;
}为什么我在关联模型里加field就报错,不加或者加其他条件例如where就正常返回?