فهرست منبع

升级IM sdk版本并在消息中添加摘要

heavyrian2012 3 سال پیش
والد
کامیت
562d3696fd

+ 1 - 1
server/pom.xml

@@ -29,7 +29,7 @@
 		<swagger.version>3.0.0</swagger.version>
 		<fastjson.version>1.2.79</fastjson.version>
 		<lombok.version>1.18.22</lombok.version>
-		<wfc.sdk.version>0.91</wfc.sdk.version>
+		<wfc.sdk.version>0.95</wfc.sdk.version>
 	</properties>
 
 	<dependencies>

+ 1 - 1
server/src/main/java/com/github/niefy/modules/wx/service/impl/ArticleServiceImpl.java

@@ -115,7 +115,7 @@ public class ArticleServiceImpl extends ServiceImpl<ArticleMapper, Article> impl
         Article article = articleMapper.selectById(articleId);
         if (article != null) {
             ChannelServiceApi api = wxAccountService.getApi(appid);
-            ArticleContent content = new ArticleContent(articleId+"", article.getImage(), article.getTitle(), article.getTargetLink(), true);
+            ArticleContent content = new ArticleContent(articleId+"", article.getImage(), article.getTitle(), article.getSummary(), article.getTargetLink(), true);
             try {
                 api.sendMessage(0, null, content.toPayload());
                 return true;

BIN
server/src/main/lib/common-0.91.jar → server/src/main/lib/common-0.95.jar


BIN
server/src/main/lib/sdk-0.91.jar


BIN
server/src/main/lib/sdk-0.95.jar