mail-template.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. [MailTemplateConf]
  2. SignTmplTitle = """[{{Now.Format "2006-01-02"}}] MCN-签约到期提醒"""
  3. SignTmplContent = """
  4. <html>
  5. <body>
  6. <table border="1">
  7. <tr>
  8. <td>昵称(uid)</td>
  9. <td>到期提示信息</td>
  10. </tr>
  11. {{range .}}
  12. <tr>
  13. <td>{{.McnName}}({{.McnMid}})</td>
  14. <td>{{.EndDate.Time.Format "2006-01-02"}} 签约即将到期,请尽快去<a href="http://up-profit.bilibili.co/allowance/#/mcn/mcnList">【up主CRM-MCN签约管理】查看</a></td>
  15. </tr>
  16. {{end}}
  17. </table>
  18. </body>
  19. </html>
  20. """
  21. PayTmplTitle = """[{{Now.Format "2006-01-02"}}] MCN-付款到期提醒"""
  22. PayTmplContent = """
  23. <html>
  24. <body>
  25. <table border=1>
  26. <tr>
  27. <td>昵称(uid)</td>
  28. <td>到期提示信息</td>
  29. </tr>
  30. {{range .}}
  31. <tr>
  32. <td>{{.McnName}}({{.McnMid}})</td>
  33. <td>{{.DueDate.Time.Format "2006-01-02"}} 付款即将到期,应付款{{printf "%.2f" .GetPayValue}}元,请及时付款并尽快去<a href="http://up-profit.bilibili.co/allowance/#/mcn/mcnList">【up主CRM-MCN签约管理】处理</a></td>
  34. </tr>
  35. {{end}}
  36. </table>
  37. </body>
  38. </html>"""