摘要: //判断一个长的字符串中是否包含某一个短的字符串 if (str1.indexOf(str2) != -1) { return true;//存在 }else { return false; } /** * 消息模板关键字替换 * @param template 消息内容 * @param map 替换key-value * @return */ public s... 阅读全文
posted @ 2019-07-19 13:47 An-Optimistic-Person 阅读(313) 评论(0) 推荐(0) 编辑