feat(user): 个人详情接口增加消息和俱乐部数量
- 在用户详情中添加未读消息数、俱乐部数和卡券数 - 新增 Message 模型用于消息相关操作 - 使用 Menber 模型统计用户在俱乐部的角色数量
This commit is contained in:
@@ -13,6 +13,7 @@ class Message extends Model
|
||||
|
||||
|
||||
// 表名
|
||||
public static $tableName = 'zy_message';
|
||||
protected $table = 'zy_message';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
|
||||
Reference in New Issue
Block a user