Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailContentModel ¶
type EmailContentModel struct { Receiver []string // 接收人 Subject string // 主题 Type string // 邮件类型:html | plain(默认html) Body string // 邮件内容(支持golang模板语言) Vars interface{} // 邮件内容变量 AttachLocalFile string // 本地文件作为附件 AttachOssKey string // oss文件作为附件 AttachName string // 附件名称 }
EmailContentModel 邮件内容
type OssStsTokenModel ¶
type OssStsTokenModel struct { SecurityToken string `json:"securityToken"` AccessKeyId string `json:"accessKeyId"` AccessKeySecret string `json:"accessKeySecret"` Bucket string `json:"bucket"` Region string `json:"region"` }
OssStsTokenModel STS Token
type OssTempUrlReqModel ¶
OssTempUrlReqModel 获取文件临时链接参数
type OssTransferModel ¶
OssTransferModel 上传文件参数
Click to show internal directories.
Click to hide internal directories.