You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
1.2 KiB

[MailTemplateConf]
SignTmplTitle = """[{{Now.Format "2006-01-02"}}] MCN-签约到期提醒"""
SignTmplContent = """
<html>
<body>
<table border="1">
<tr>
<td>昵称(uid)</td>
<td>到期提示信息</td>
</tr>
{{range .}}
<tr>
<td>{{.McnName}}({{.McnMid}})</td>
<td>{{.EndDate.Time.Format "2006-01-02"}} 签约即将到期,请尽快去<a href="http://up-profit.bilibili.co/allowance/#/mcn/mcnList">【up主CRM-MCN签约管理】查看</a></td>
</tr>
{{end}}
</table>
</body>
</html>
"""
PayTmplTitle = """[{{Now.Format "2006-01-02"}}] MCN-"""
PayTmplContent = """
<html>
<body>
<table border=1>
<tr>
<td>(uid)</td>
<td></td>
</tr>
{{range .}}
<tr>
<td>{{.McnName}}{{.McnMid}}</td>
<td>{{.DueDate.Time.Format "2006-01-02"}} {{printf "%.2f" .GetPayValue}}<a href="http://up-profit.bilibili.co/allowance/#/mcn/mcnList">upCRM-MCN</a></td>
</tr>
{{end}}
</table>
</body>
</html>"""