messageSource can't replace {0} by params

参考url: https://stackoverflow.com/questions/47225104/messagesource-doesnt-replace-all-arguments-in-template

message.system.exception=U-Freight Notification\n\nCan't save milestone for for courierCompany[{0}] and courierBillNo[{1}] because [{2}].\n\nSincerely\nUfreight Team
解决方法: 用can not替换 Can't ,因为message中不能包含单引号

posted @ 2019-08-23 16:01  尘世的流浪人  阅读(204)  评论(0编辑  收藏  举报