feat(俱乐部和比赛模块): 增加俱乐部和比赛的相关功能和优化
- 在 Club 控制器中添加了对俱乐部列表的查询,包括俱乐部名称、场馆名称、俱乐部标签等信息 - 在 Game 控制器中增加了对比赛列表的查询,包括比赛名称、场馆名称、俱乐部名称、参赛选手头像等信息 - 优化了 Game 控制器中的比赛详情查询,增加了参赛选手头像的解析 - 在 Game、GameJoin 和 Participant 模型中添加了 tableName 静态属性,便于统一管理表名
This commit is contained in:
@@ -13,6 +13,7 @@ class Participant extends Model
|
||||
|
||||
|
||||
// 表名
|
||||
public static $tableName = 'zy_participant';
|
||||
protected $table = 'zy_participant';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
|
||||
Reference in New Issue
Block a user