Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,75 @@
[MailTemplateConf]
SignTmplTitle = """[签约Up即将到期]{{Now.Format "2006-01-02"}}"""
SignTmplContent = """
<html>
<body>
<h4>您有以下签约即将到期,请尽快去<a href="http://up-profit.bilibili.co/allowance/#/contract-manage/all-contracts">【up主CRM-签约管理】查看</a></h4>
<table border="1">
<tr>
<td>id</td>
<td></td>
<td>uid</td>
<td></td>
</tr>
{{range .}}
<tr>
<td>{{.ID}}</td>
<td>{{.Name}}</td>
<td>{{.Mid}}</td>
<td>{{.EndDate.Time.Format "2006-01-02"}}</td>
</tr>
{{end}}
</table>
</body>
</html>
"""
PayTmplTitle = """"[签约Up付款即将到期]{{Now.Format "2006-01-02"}}"""
PayTmplContent = """
<html>
<body>
<h4>您有以下付款即将到期,请尽快去<a href="http://up-profit.bilibili.co/allowance/#/contract-manage/all-contracts">【up主CRM-签约管理】查看</a></h4>
<table border=1>
<tr>
<td>id</td>
<td></td>
<td>uid</td>
<td></td>
<td></td>
</tr>
{{range .}}
<tr>
<td>{{.SignID}}</td>
<td>{{.Name}}</td>
<td>{{.Mid}}</td>
<td>{{.DueDate.Time.Format "2006-01-02"}}</td>
<td>{{printf "%.2f" .GetPayValue}}</td>
</tr>
{{end}}
</table>
</body>
</html>"""
TaskTmplTitle = """[Up]{{Now.Format "2006-01-02"}}"""
TaskTmplContent = """
<html>
<body>
up<a href="http://up-profit.bilibili.co/allowance/#/contract-manage/all-contracts">upCRM-</a>
<table border=1>
<tr>
<td>id</td>
<td></td>
<td>uid</td>
<td></td>
<td></td>
</tr>
{{range .}}
<tr>
<td>{{.SignID}}</td>
<td>{{.Name}}</td>
<td>{{.Mid}}</td>
<td>{{(.EndDate.Time.AddDate 0 0 -1).Format "2006-01-02"}}</td>
<td>{{(printf "%s投稿 %d/%d" .TypeDesc .TaskCounter .TaskCondition)}}</td>
</tr>
{{end}}
</table>
</body>
</html>"""