新增一个简单的好友列表页面

This commit is contained in:
李寻欢
2023-11-30 11:37:02 +08:00
parent 6626f45af2
commit 6a259b0552
17 changed files with 523 additions and 40 deletions

19
vo/friend.go Normal file
View File

@@ -0,0 +1,19 @@
package vo
import (
"go-wechat/common/types"
)
// FriendItem
// @description: 好友列表数据
type FriendItem struct {
CustomAccount string // 微信号
Nickname string // 昵称
Pinyin string // 昵称拼音大写首字母
PinyinAll string // 昵称全拼
Wxid string // 微信原始Id
EnableAi bool // 是否使用AI
EnableChatRank bool // 是否使用聊天排行
IsOk bool // 是否还在通讯库(群聊是要还在群里也算)
LastActiveTime types.DateTime // 最后活跃时间
}