mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-04 11:22:17 +08:00
fix callbackbeforesetgroupinfo
This commit is contained in:
parent
46f439fb1f
commit
69fff628b3
@ -246,17 +246,17 @@ func CallbackBeforeSetGroupInfo(ctx context.Context, req *group.SetGroupInfoReq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if req.GroupInfoForSet.Ex != nil {
|
if req.GroupInfoForSet.Ex != nil {
|
||||||
callbackReq.Ex = &req.GroupInfoForSet.Ex.Value
|
callbackReq.Ex = req.GroupInfoForSet.Ex.Value
|
||||||
}
|
}
|
||||||
log.ZDebug(ctx, "debug!!!!!!", callbackReq.Ex)
|
log.ZDebug(ctx, "debug CallbackBeforeSetGroupInfo", callbackReq.Ex)
|
||||||
if req.GroupInfoForSet.NeedVerification != nil {
|
if req.GroupInfoForSet.NeedVerification != nil {
|
||||||
callbackReq.NeedVerification = &req.GroupInfoForSet.NeedVerification.Value
|
callbackReq.NeedVerification = req.GroupInfoForSet.NeedVerification.Value
|
||||||
}
|
}
|
||||||
if req.GroupInfoForSet.LookMemberInfo != nil {
|
if req.GroupInfoForSet.LookMemberInfo != nil {
|
||||||
callbackReq.LookMemberInfo = &req.GroupInfoForSet.LookMemberInfo.Value
|
callbackReq.LookMemberInfo = req.GroupInfoForSet.LookMemberInfo.Value
|
||||||
}
|
}
|
||||||
if req.GroupInfoForSet.ApplyMemberFriend != nil {
|
if req.GroupInfoForSet.ApplyMemberFriend != nil {
|
||||||
callbackReq.ApplyMemberFriend = &req.GroupInfoForSet.ApplyMemberFriend.Value
|
callbackReq.ApplyMemberFriend = req.GroupInfoForSet.ApplyMemberFriend.Value
|
||||||
}
|
}
|
||||||
resp := &callbackstruct.CallbackBeforeSetGroupInfoResp{}
|
resp := &callbackstruct.CallbackBeforeSetGroupInfoResp{}
|
||||||
|
|
||||||
|
|||||||
@ -130,30 +130,30 @@ type CallbackBeforeSetGroupInfoReq struct {
|
|||||||
|
|
||||||
type CallbackBeforeSetGroupInfoResp struct {
|
type CallbackBeforeSetGroupInfoResp struct {
|
||||||
CommonCallbackResp
|
CommonCallbackResp
|
||||||
GroupID string ` json:"groupID"`
|
GroupID string ` json:"groupID"`
|
||||||
GroupName string `json:"groupName"`
|
GroupName string `json:"groupName"`
|
||||||
Notification string `json:"notification"`
|
Notification string `json:"notification"`
|
||||||
Introduction string `json:"introduction"`
|
Introduction string `json:"introduction"`
|
||||||
FaceURL string `json:"faceURL"`
|
FaceURL string `json:"faceURL"`
|
||||||
Ex string `json:"ex"`
|
Ex *string `json:"ex"`
|
||||||
NeedVerification int32 `json:"needVerification"`
|
NeedVerification *int32 `json:"needVerification"`
|
||||||
LookMemberInfo int32 `json:"lookMemberInfo"`
|
LookMemberInfo *int32 `json:"lookMemberInfo"`
|
||||||
ApplyMemberFriend int32 `json:"applyMemberFriend"`
|
ApplyMemberFriend *int32 `json:"applyMemberFriend"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CallbackAfterSetGroupInfoReq struct {
|
type CallbackAfterSetGroupInfoReq struct {
|
||||||
CallbackCommand `json:"callbackCommand"`
|
CallbackCommand `json:"callbackCommand"`
|
||||||
OperationID string `json:"operationID"`
|
OperationID string `json:"operationID"`
|
||||||
GroupID string `json:"groupID"`
|
GroupID string `json:"groupID"`
|
||||||
GroupName string `json:"groupName"`
|
GroupName string `json:"groupName"`
|
||||||
Notification string `json:"notification"`
|
Notification string `json:"notification"`
|
||||||
Introduction string `json:"introduction"`
|
Introduction string `json:"introduction"`
|
||||||
FaceURL string `json:"faceURL"`
|
FaceURL string `json:"faceURL"`
|
||||||
Ex string `json:"ex"`
|
Ex *string `json:"ex"`
|
||||||
NeedVerification int32 `json:"needVerification"`
|
NeedVerification *int32 `json:"needVerification"`
|
||||||
LookMemberInfo int32 `json:"lookMemberInfo"`
|
LookMemberInfo *int32 `json:"lookMemberInfo"`
|
||||||
ApplyMemberFriend int32 `json:"applyMemberFriend"`
|
ApplyMemberFriend *int32 `json:"applyMemberFriend"`
|
||||||
EventTime int64 `json:"eventTime"`
|
EventTime int64 `json:"eventTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CallbackAfterSetGroupInfoResp struct {
|
type CallbackAfterSetGroupInfoResp struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user