forked from lxh/go-wxhelper
🐛 修复新成员无法入库的BUG
This commit is contained in:
parent
a6e935e233
commit
86daff5763
@ -3,7 +3,7 @@ wechat:
|
||||
# 微信HOOK接口地址
|
||||
host: 10.0.0.73:19088
|
||||
# 是否在启动的时候自动设置hook服务的回调
|
||||
autoSetCallback: true
|
||||
autoSetCallback: false
|
||||
# 回调IP,如果是Docker运行,本参数必填,如果Docker修改了映射,格式为 ip:port
|
||||
callback: 10.0.0.51
|
||||
|
||||
@ -16,12 +16,12 @@ mysql:
|
||||
db: wechat
|
||||
|
||||
task:
|
||||
enable: false
|
||||
enable: true
|
||||
syncFriends:
|
||||
enable: true
|
||||
cron: '0 * * * *'
|
||||
cron: '*/5 * * * *' # 五分钟一次
|
||||
waterGroup:
|
||||
enable: true
|
||||
enable: false
|
||||
cron: '30 9 * * *'
|
||||
# 需要发送水群排行榜的群Id
|
||||
groups:
|
||||
|
@ -25,7 +25,7 @@ type GroupUser struct {
|
||||
Nickname string `json:"nickname"` // 昵称
|
||||
Wxid string `json:"wxid"` // 微信Id
|
||||
IsMember bool `json:"isMember" gorm:"type:tinyint(1)"` // 是否群成员
|
||||
LeaveTime time.Time `json:"leaveTime"` // 离开时间
|
||||
LeaveTime *time.Time `json:"leaveTime"` // 离开时间
|
||||
}
|
||||
|
||||
func (GroupUser) TableName() string {
|
||||
|
Loading…
Reference in New Issue
Block a user