<script>
let template = '尊敬{tell}用户,您是本行优质客户可以获得[money]万'
let tellist = ['188884444', '18555444', '1877777744', '188537834', '1885552534',]
for (let i = 0; i < tellist.length; i++) {
let str = template.replace('{tell}', tellist[i])
str = str.replace('[money]', Math.round(Math.random() * 90) + 10)
console.log(str);
}
</script>