-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
138 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
from httpfpt.enums import IntEnum | ||
|
||
|
||
class EmailType(IntEnum): | ||
REPORT = 0 | ||
ERROR = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title> HttpFpt Run Exception </title> | ||
</head> | ||
<body> | ||
<div style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; | ||
box-sizing: border-box; | ||
display: inline-block; | ||
font-size: 14px; | ||
overflow: hidden; | ||
border-radius: 7px; | ||
margin: 0; | ||
border: 1px solid #e9e9e9; | ||
width: 50%; | ||
background-color: #f5f9fc;"> | ||
<div style="font-size: 16px; | ||
vertical-align: top; | ||
color: #fff; | ||
background-color: #ff5757; | ||
padding: 20px;"> | ||
<span style="margin:20px;display:block;"> HttpFpt 运行异常通知 </span> | ||
</div> | ||
<div style="margin: 30px 20px;"> | ||
<p>测试运行异常,报错信息如下:</p> | ||
<pre style="font-family:auto,emoji;font-size:14px;margin:0;color:#ff5757"> | ||
{{ error }} | ||
</pre> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters