Refactor code

pull/131/head
wenxu12345 3 years ago
parent 0ae46455af
commit cb80742eaa

@ -27,7 +27,7 @@ func FriendDBCopyOpenIM(dst *open_im_sdk.FriendInfo, src *db.Friend) {
utils.CopyStructFields(dst.FriendUser, user)
}
dst.CreateTime = uint32(src.CreateTime.Unix())
dst.FriendUser.CreateTime = uint32(user.CreateTime.Unix())
dst.FriendUser.CreateTime = user.CreateTime.Unix()
}
//

Loading…
Cancel
Save