fix time convert

pull/141/head
Gordon 3 years ago
parent 1944b24fba
commit 8525dcb376

@ -80,6 +80,7 @@ func (s *userServer) GetUserInfo(ctx context.Context, req *pbUser.GetUserInfoReq
continue continue
} }
utils.CopyStructFields(&userInfo, user) utils.CopyStructFields(&userInfo, user)
userInfo.Birth = uint32(user.Birth.Unix())
userInfoList = append(userInfoList, &userInfo) userInfoList = append(userInfoList, &userInfo)
} }
} else { } else {

Loading…
Cancel
Save