🎨 优化迎新逻辑,引入资源概念

This commit is contained in:
李寻欢
2023-12-07 15:58:55 +08:00
parent 63d50b815c
commit 37bf8de132
11 changed files with 156 additions and 15 deletions

18
model/userinfo.go Normal file
View File

@@ -0,0 +1,18 @@
package model
// RobotUserInfo
// @description: 机器人用户信息
type RobotUserInfo struct {
WxId string `json:"wxid"` // 微信Id
Account string `json:"account"` // 微信号
Name string `json:"name"` // 昵称
HeadImage string `json:"headImage"` // 头像
Mobile string `json:"mobile"` // 手机
Signature string `json:"signature"` // 个人签名
Country string `json:"country"` // 国家
Province string `json:"province"` // 省
City string `json:"city"` // 城市
CurrentDataPath string `json:"currentDataPath"` // 当前数据目录,登录的账号目录
DataSavePath string `json:"dataSavePath"` // 微信保存目录
DbKey string `json:"dbKey"` // 数据库的SQLCipher的加密key可以使用该key配合decrypt.py解密数据库
}