added roster
This commit is contained in:
@@ -285,4 +285,12 @@ class TeamStoreModel extends Model
|
||||
$i = DB::select("SELECT * FROM teamstores WHERE IsActive = 'true' ORDER BY RAND() LIMIT 10");
|
||||
return $i;
|
||||
}
|
||||
|
||||
function selectRoster($productId){
|
||||
|
||||
$i = DB::table('roster')
|
||||
->where("ProductId", $productId)
|
||||
->get();
|
||||
return $i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user