Authored by LUOXC

fixbug

... ... @@ -242,7 +242,9 @@ public class HkAccountSettlement {
.subject("UFO香港卖家结算")
.to(configReader.getString("ufo.order.seller.hkAccountSettlementEmailTo", "xiuchun.luo@yoho.cn"))
.body("打款提醒:您有新的订单需要打款", "text/html;charset=utf-8")
.attachment("卖家结算清单.csv", buildDate(tradeBillResults), "application/x-csv;charset=utf-8")
.attachment("卖家结算清单.csv",
// csv的文件头设置BOM(Byte order mark)来解决中文乱码问题
'\ufeff' + buildDate(tradeBillResults), "application/x-csv;charset=utf-8")
.send();
}
... ...