Merge pull request '🎨 优化好友列表同步处理逻辑' (#55) from hotfix into main
All checks were successful
BuildImage / build-image (push) Successful in 1m31s
All checks were successful
BuildImage / build-image (push) Successful in 1m31s
Reviewed-on: #55
This commit is contained in:
commit
a13e39dc0a
@ -103,6 +103,7 @@ func Sync() {
|
|||||||
"custom_account": friend.CustomAccount,
|
"custom_account": friend.CustomAccount,
|
||||||
"pinyin": friend.Pinyin,
|
"pinyin": friend.Pinyin,
|
||||||
"pinyin_all": friend.PinyinAll,
|
"pinyin_all": friend.PinyinAll,
|
||||||
|
"is_ok": true,
|
||||||
}
|
}
|
||||||
err = tx.Model(&entity.Friend{}).Where("wxid = ?", friend.Wxid).Updates(pm).Error
|
err = tx.Model(&entity.Friend{}).Where("wxid = ?", friend.Wxid).Updates(pm).Error
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user