Skip to content

Commit

Permalink
fix: consume json
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Tian committed Jan 28, 2024
1 parent 8fca070 commit 57d76ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>org.keycloak</groupId>
<artifactId>keycloak-services-social-weixin</artifactId>
<packaging>jar</packaging>
<version>0.5.8</version>
<version>0.5.9</version>

<name>Keycloak Services Social WeiXin</name>
<description>Keycloak 微信登录插件,支持 PC 端扫码登录、关注公众号即登录、手机微信等登录方式。</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ public Response mpQrScanStatusScanned(String xmlData) {
@SneakyThrows
@POST
@Path("message")
@Consumes(MediaType.APPLICATION_XML)
@Produces(MediaType.APPLICATION_JSON)
public Response message(String xmlData) {
logger.info("接收到微信服务器发来的事件: " + xmlData);
Expand Down

0 comments on commit 57d76ea

Please sign in to comment.