added roster

This commit is contained in:
franknstayn
2022-03-03 23:28:28 +08:00
parent c10c536dba
commit c946685844
9 changed files with 451 additions and 361 deletions

View File

@@ -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;
}
}