Commit 4a5565d2 by 徐高华

表情

parent 8cf1a583
......@@ -79,7 +79,6 @@ import com.gic.wechat.api.dto.qywx.chat.GroupChatListItemDTO;
import com.gic.wechat.api.dto.qywx.chat.GroupChatUserIdDTO;
import com.gic.wechat.api.service.qywx.QywxChatApiService;
import com.github.pagehelper.PageHelper;
import com.vdurmont.emoji.EmojiParser;
@Service("groupChatService")
public class GroupChatServiceImpl implements GroupChatService {
......@@ -573,10 +572,11 @@ public class GroupChatServiceImpl implements GroupChatService {
}
private String emoji(String content) {
if (StringUtils.isBlank(content)) {
return content ;
/* if (StringUtils.isBlank(content)) {
return content;
}
return EmojiParser.removeAllEmojis(content);
return EmojiParser.removeAllEmojis(content);*/
}
private void updateGroupChatDetail(WxEnterpriseQwDTO qwDTO, TabGroupChat chat, boolean syncMember) {
......
......@@ -12,7 +12,7 @@
<context:annotation-config />
<import resource="classpath*:applicationContext-db-only.xml"/>
<import resource="classpath*:applicationContext-db-only-with-emogi.xml"/>
<bean class="com.gic.haoban.common.init.HaobanSqlSessionFactoryBean" id="sqlSessionFactory">
<property name="dataSource" ref="dataSource" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment