1
This commit is contained in:
parent
54d83d7749
commit
a52e8879f8
@ -48,7 +48,7 @@ CREATE TABLE `t_mail` (
|
||||
`deleted` int(11) NOT NULL DEFAULT '0' COMMENT '是否已删除',
|
||||
`sendtime` int(11) NOT NULL DEFAULT '0' COMMENT '发送时间',
|
||||
`user_reg_start_time` int(11) NOT NULL DEFAULT '0' COMMENT '用户注册开始时间',
|
||||
`user_reg_start_end` int(11) NOT NULL DEFAULT '0' COMMENT '用户注册结束时间',
|
||||
`user_reg_end_time` int(11) NOT NULL DEFAULT '0' COMMENT '用户注册结束时间',
|
||||
`expiretime` int(11) NOT NULL DEFAULT '0' COMMENT '过期时间',
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
|
@ -20,6 +20,33 @@ module.exports = class {
|
||||
['!mail_list', common.Mail()]
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
'method': 'POST',
|
||||
'name': 'add',
|
||||
'desc': '添加邮件',
|
||||
'group': 'mail',
|
||||
'url': 'api/v1/mail/add',
|
||||
'header': [
|
||||
],
|
||||
'is_json_params': true,
|
||||
'params': [
|
||||
new common.RspHead(),
|
||||
['mail_type', 0, '邮件类型'],
|
||||
['subject', '', '邮件标题'],
|
||||
['content', '', '邮件内容'],
|
||||
['reciver', '', '收件人'],
|
||||
['attachments', '', '邮件附件'],
|
||||
['sendtime', 0, '发送时间'],
|
||||
['user_reg_start_time', 0, '用户注册开始时间'],
|
||||
['user_reg_end_time', 0, '用户注册结束时间'],
|
||||
['expiretime', 0, '过期时间'],
|
||||
],
|
||||
'response': [
|
||||
new common.RspHead(),
|
||||
]
|
||||
},
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user