mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-19 02:05:20 +08:00
实现发送消息到媒介
This commit is contained in:
@@ -75,13 +75,13 @@ func (this *UpdateAction) RunPost(params struct {
|
||||
groupIds := utils.SplitNumbers(params.GroupIds)
|
||||
|
||||
_, err := this.RPC().MessageRecipientRPC().UpdateMessageRecipient(this.AdminContext(), &pb.UpdateMessageRecipientRequest{
|
||||
MessageRecipientId: params.RecipientId,
|
||||
AdminId: params.AdminId,
|
||||
InstanceId: params.InstanceId,
|
||||
User: params.User,
|
||||
GroupIds: groupIds,
|
||||
Description: params.Description,
|
||||
IsOn: params.IsOn,
|
||||
MessageRecipientId: params.RecipientId,
|
||||
AdminId: params.AdminId,
|
||||
MessageMediaInstanceId: params.InstanceId,
|
||||
User: params.User,
|
||||
MessageRecipientGroupIds: groupIds,
|
||||
Description: params.Description,
|
||||
IsOn: params.IsOn,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user