|
@@ -13,6 +13,6 @@ class BookRole extends Model
|
|
|
|
|
|
public static function getBidByRole($role)
|
|
public static function getBidByRole($role)
|
|
{
|
|
{
|
|
- return self::where('role',$role)->get()->plcuk('bid');
|
|
|
|
|
|
+ return self::where('role',$role)->get()->pluck('bid');
|
|
}
|
|
}
|
|
}
|
|
}
|