feat(user): 优化个人详情接口并添加俱乐部列表和关注功能

- 在用户详情中添加 club_list 字段,返回用户加入的俱乐部列表
- 优化俱乐部成员接口,支持分页和显示更多用户信息
- 新增关注功能,用户可以关注其他用户
This commit is contained in:
2025-05-24 22:32:13 +08:00
parent ac0777e34b
commit 185578aa6a
3 changed files with 15 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ class Relation extends Model
// 表名
public static $tableName = 'zy_relation';
protected $table = 'zy_relation';
// 自动写入时间戳字段