Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmailSend ¶
*
- @api {post} /api/email/send 发送邮件
- @apiName send
- @apiGroup Email *
- @apiParam {string} title 邮件标题
- @apiParam {string} content 邮件内容
- @apiParam {string} sender_name 发件人昵称
- @apiParam {string} receiver 收件人邮箱,多个以英文逗号隔开
- @apiParam {string} receiver_name 收件人昵称,可不填,多个以英文逗号隔开
- @apiParam {file} attachment[] 多个附件请使用相同变量名.请使用 form-data 进行传输 *
- @apiHeaderExample {json} Header-Example:
- {
- "Content-Type": "multipart/form-data"
- } *
- @apiDescription 发送邮件 *
- @apiVersion 1.0.0
- @apiSuccessExample Success-Response:
- {
- "code": 200,
- "message": "success",
- "data": null
- }
- @apiErrorExample Error-Response:
- {
- "code": 400,
- "message": "Param is invalid",
- "data": null
- }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.