fix(im): 修复addGroupMember时memberName因@JsonIgnore在Feign传输中丢失
移除MemberListDTO.memberName上的@JsonIgnore注解,确保名称能通过Feign跨服务传输。 改为在发送腾讯IM API前手动移除memberName字段,避免发送IM不接受的字段。 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.renkang.im.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@@ -55,7 +54,6 @@ public class AddGroupMemberDTO {
|
||||
/**
|
||||
* 群成员名称(可选,仅用于IM账号导入,不发送到腾讯IM)
|
||||
*/
|
||||
@JsonIgnore
|
||||
private String memberName;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user