feat(zy): 增加俱乐部详情接口并优化游戏详情页面
- 新增俱乐部详情接口,包括成员性别比例和关注度统计 - 在游戏详情页面增加关注度统计 - 更新游戏活动状态文案 - 优化 dd 和 getsql 函数输出格式
This commit is contained in:
@@ -63,6 +63,7 @@ class Game extends Base
|
||||
$this->error(__('No rows were found'));
|
||||
}
|
||||
|
||||
$this->model->where('id', $model['id'])->setInc('attention');
|
||||
$model['cost'] = json_decode($model['cost'] ?? '[]', true);
|
||||
$model['referee'] = explode(',', $model['referee']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user