mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 17:08:40 +08:00
fix: 修复邮件模板变量替换问题
This commit is contained in:
parent
d28735a356
commit
76aaadc100
@ -90,7 +90,7 @@ public final class HtmlUtil {
|
||||
for (Map.Entry<String, String> s : parameter.entrySet()) {
|
||||
String piece = piece(s.getKey());
|
||||
if (data.get(i).contains(piece)){
|
||||
data.set(i,s.getValue());
|
||||
data.set(i, data.get(i).replace(piece, s.getValue()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user