forked from SeriaWei/ZKEACMS
-
Notifications
You must be signed in to change notification settings - Fork 0
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
3 changed files
with
548 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1342,6 +1342,185 @@ INSERT INTO `DBVersion` VALUES | |
(1,3,6,2,0); | ||
/*!40000 ALTER TABLE `DBVersion` ENABLE KEYS */; | ||
|
||
DROP TABLE IF EXISTS `EA_ActionBody`; | ||
CREATE TABLE `EA_ActionBody` ( | ||
`ID` INT AUTO_INCREMENT NOT NULL, | ||
`Body` LONGTEXT CHARACTER SET utf8mb4 NULL, | ||
`Title` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`Description` VARCHAR(500) CHARACTER SET utf8mb4 NULL, | ||
`Status` INT NULL, | ||
`CreateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`CreatebyName` VARCHAR(100) CHARACTER SET utf8mb4 NULL, | ||
`CreateDate` DATETIME NULL, | ||
`LastUpdateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`LastUpdateByName` VARCHAR(100) CHARACTER SET utf8mb4 NULL, | ||
`LastUpdateDate` DATETIME NULL, | ||
PRIMARY KEY (`ID`) | ||
); | ||
|
||
/*!40000 ALTER TABLE `EA_ActionBody` DISABLE KEYS */; | ||
INSERT INTO `EA_ActionBody` VALUES | ||
(1,'<div> | ||
<h3> | ||
New message | ||
</h3> | ||
<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" bgcolor=\"\" style=\"border-color: #eee;\"> | ||
<tbody> | ||
<tr> | ||
<td>Name</td> | ||
<td>{{this.Model.Title}}</td> | ||
</tr> | ||
<tr> | ||
<td>Email</td> | ||
<td>{{this.Model.Email}}</td> | ||
</tr> | ||
<tr> | ||
<td>Message</td> | ||
<td>{{this.Model.PostMessage}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div>','收到留言板留言',NULL,1,'admin','ZKEASOFT','2023-03-05 18:49:06.000','admin','ZKEASOFT','2023-03-11 21:32:38.140'), | ||
(2,'subject: Reset password | ||
to: {{this.Model.Email}} | ||
<div> | ||
<h3> | ||
Reset password | ||
</h3> | ||
<p> | ||
Click the link to reset your passwod: | ||
</p> | ||
<a href=\"{{this.Model.Link}}\" target=\"_blank\">{{this.Model.Link}}</a> | ||
</div>','重置密码',NULL,1,'admin','ZKEASOFT','2023-03-11 21:32:20.753','admin','ZKEASOFT','2023-03-11 21:32:20.753'), | ||
(3,'<div> | ||
<h3> | ||
New comment | ||
</h3> | ||
<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" bgcolor=\"\" style=\"border-color: #eee;\"> | ||
<tbody> | ||
<tr> | ||
<td>Page Title</td> | ||
<td>{{this.Model.Title}}</td> | ||
</tr> | ||
<tr> | ||
<td>Username</td> | ||
<td>{{this.Model.UserName}}</td> | ||
</tr> | ||
<tr> | ||
<td>Comments</td> | ||
<td>{{this.Model.CommentContent}}</td> | ||
</tr> | ||
<tr> | ||
<td>Page</td> | ||
<td>{{this.Model.PagePath}}</a></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div>','收到新评论',NULL,1,'admin','ZKEASOFT','2023-03-11 21:44:54.000','admin','ZKEASOFT','2023-03-11 21:48:22.887'), | ||
(4,'subject: New form data | ||
to: {{this.Model.Form.NotificationReceiver}} | ||
<div> | ||
<h3> | ||
{{this.Model.Form.Title}} | ||
</h3> | ||
<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" bgcolor=\"\" style=\"border-color: #eee; \"> | ||
<thead> | ||
<tr> | ||
<th>Field</th> | ||
<th>Value</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for field in this.Model.Form.FormFields %} | ||
<tr> | ||
<td> | ||
{{field.DisplayName}} | ||
</td> | ||
<td> | ||
{{field.DisplayValue}} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div>','收到自定义表单',NULL,1,'admin','ZKEASOFT','2023-03-11 22:06:21.000','admin','ZKEASOFT','2023-03-11 22:13:54.507'); | ||
/*!40000 ALTER TABLE `EA_ActionBody` ENABLE KEYS */; | ||
|
||
DROP TABLE IF EXISTS `EA_EventAction`; | ||
CREATE TABLE `EA_EventAction` ( | ||
`ID` INT AUTO_INCREMENT NOT NULL, | ||
`Event` VARCHAR(100) CHARACTER SET utf8mb4 NULL, | ||
`Actions` LONGTEXT CHARACTER SET utf8mb4 NULL, | ||
`Title` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`Description` VARCHAR(500) CHARACTER SET utf8mb4 NULL, | ||
`Status` INT NULL, | ||
`CreateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`CreatebyName` VARCHAR(100) CHARACTER SET utf8mb4 NULL, | ||
`CreateDate` DATETIME NULL, | ||
`LastUpdateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`LastUpdateByName` VARCHAR(100) CHARACTER SET utf8mb4 NULL, | ||
`LastUpdateDate` DATETIME NULL, | ||
PRIMARY KEY (`ID`) | ||
); | ||
|
||
/*!40000 ALTER TABLE `EA_EventAction` DISABLE KEYS */; | ||
INSERT INTO `EA_EventAction` VALUES | ||
(1,'ZKEACMS.Message.Events.OnMessageSubmitted','actions: | ||
- name: send email notification | ||
uses: actions/email | ||
with: | ||
subject: 收到新留言 | ||
to: [email protected] | ||
bodyContentId: 1','发送新留言邮件通知',NULL,1,'admin','ZKEASOFT','2023-03-03 21:53:14.000','admin','ZKEASOFT','2023-03-12 21:12:14.787'), | ||
(2,'ZKEACMS.Events.OnResetPassword','actions: | ||
- name: send email notification | ||
uses: actions/email | ||
with: | ||
bodyContentId: 2','发送重置密码发送邮件通知',NULL,1,'admin','ZKEASOFT','2023-03-11 21:33:51.000','admin','ZKEASOFT','2023-03-12 21:11:13.133'), | ||
(3,'ZKEACMS.Message.Events.OnCommentsSubmitted','actions: | ||
- name: send email notification | ||
uses: actions/email | ||
with: | ||
subject: new comment | ||
to: [email protected] | ||
bodyContentId: 3','发送新评论邮件通知',NULL,1,'admin','ZKEASOFT','2023-03-11 21:44:02.000','admin','ZKEASOFT','2023-03-12 21:10:58.717'), | ||
(4,'ZKEACMS.FormGenerator.Events.OnFormDataSubmitted','actions: | ||
- name: send email notification | ||
uses: actions/email | ||
with: | ||
bodyContentId: 4','发送自定义表单邮件通知',NULL,1,'admin','ZKEASOFT','2023-03-11 22:07:27.000','admin','ZKEASOFT','2023-03-12 21:11:06.727'), | ||
(5,'ZKEACMS.Message.Events.OnMessageSubmitted','POST http://demo.zkea.net/api/account/createtoken | ||
Content-Type: application/json | ||
{ | ||
\"userID\": \"admin\", | ||
\"passWord\": \"admin\" | ||
}','发送Http请求(Web Hook)',NULL,1,'admin','ZKEASOFT','2023-03-12 21:18:33.097','admin','ZKEASOFT','2023-03-12 21:18:33.097'); | ||
/*!40000 ALTER TABLE `EA_EventAction` ENABLE KEYS */; | ||
|
||
DROP TABLE IF EXISTS `EA_PendingTask`; | ||
CREATE TABLE `EA_PendingTask` ( | ||
`ID` INT AUTO_INCREMENT NOT NULL, | ||
`Identifier` VARCHAR(100) CHARACTER SET utf8mb4 NOT NULL, | ||
`HandlerName` VARCHAR(100) CHARACTER SET utf8mb4 NOT NULL, | ||
`Data` LONGTEXT CHARACTER SET utf8mb4 NULL, | ||
`LogMessage` LONGTEXT CHARACTER SET utf8mb4 NULL, | ||
`RetryCount` INT NULL, | ||
`Title` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`Description` VARCHAR(500) CHARACTER SET utf8mb4 NULL, | ||
`Status` INT NULL, | ||
`CreateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`CreatebyName` VARCHAR(100) CHARACTER SET utf8mb4 NULL, | ||
`CreateDate` DATETIME NULL, | ||
`LastUpdateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL, | ||
`LastUpdateByName` VARCHAR(100) CHARACTER SET utf8mb4 NULL, | ||
`LastUpdateDate` DATETIME NULL, | ||
PRIMARY KEY (`ID`) | ||
); | ||
|
||
|
||
DROP TABLE IF EXISTS `ExtendField`; | ||
CREATE TABLE `ExtendField` ( | ||
`ID` INT AUTO_INCREMENT NOT NULL, | ||
|
Oops, something went wrong.