doocs/qcloud-im-server-sdk-java

@JsonProperty 注解value值错误

JiyangTang opened this issue · 0 comments

在离线推送设置中
io.github.doocs.im.model.request.AndroidInfo#googleChannelId 字段和io.github.doocs.im.model.request.AndroidInfo#oppoChannelId 字段的@JsonProperty value值一样,都是 @JsonProperty("OPPOChannelID")。
用到这两个字段会报错:
Caused by: java.lang.IllegalArgumentException: Conflicting getter definitions for property "OPPOChannelID": io.github.doocs.im.model.request.AndroidInfo#getOppoChannelId(0 params) vs io.github.doocs.im.model.request.AndroidInfo#getGoogleChannelId(0 params)