Browse Source

代码同步

shilinxiao 4 years ago
parent
commit
901d150410
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/cn/com/ota/service/impl/ShortMsgServiceImpl.java

+ 1 - 1
src/main/java/cn/com/ota/service/impl/ShortMsgServiceImpl.java

@@ -64,7 +64,7 @@ public class ShortMsgServiceImpl extends AbstractBaseService<ShortMsg, String> i
                     entity.setMsgId(msgId);
                     entity.setRecvTime(recvTime);
                     String phone = content.split(",")[0].replaceAll("电话:", "");
-                    String msgtext = content.split(",")[1].replaceAll("内容:", "");
+                    String msgtext = content.split(",内容:")[1];
                     entity.setPhoneNo(Long.valueOf(phone));
                     entity.setContent(msgtext);
                     this.save(entity);