Documentation ¶
Index ¶
- func AddMailSender(_ iris.Context)
- func AddSmsSender(_ iris.Context)
- func DeleteMailSender(ctx iris.Context)
- func DeleteSmsSender(ctx iris.Context)
- func GetMailSenderInfo(ctx iris.Context)
- func GetMailSenderList(ctx iris.Context)
- func GetSmsSenderInfo(ctx iris.Context)
- func GetSmsSenderList(ctx iris.Context)
- func UpdateMailSender(ctx iris.Context)
- func UpdateSmsSender(ctx iris.Context)
- type Info
- type InfoWrapper
- type SmsInfoWrapper
- type SmsSenderInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMailSender ¶
func AddMailSender(_ iris.Context)
func AddSmsSender ¶
func AddSmsSender(_ iris.Context)
func DeleteMailSender ¶
func DeleteMailSender(ctx iris.Context)
func DeleteSmsSender ¶
func DeleteSmsSender(ctx iris.Context)
func GetMailSenderInfo ¶
func GetMailSenderInfo(ctx iris.Context)
GetMailSenderInfo * @Router /api/mail_sender/{id} [get]
func GetMailSenderList ¶
func GetMailSenderList(ctx iris.Context)
func GetSmsSenderInfo ¶
func GetSmsSenderInfo(ctx iris.Context)
GetSmsSenderInfo * @Router /api/sms_sender/{id} [get]
func GetSmsSenderList ¶
func GetSmsSenderList(ctx iris.Context)
func UpdateMailSender ¶
func UpdateMailSender(ctx iris.Context)
func UpdateSmsSender ¶
func UpdateSmsSender(ctx iris.Context)
Types ¶
type Info ¶
type Info struct { Id int `json:"id,omitempty"` SenderCode string `json:"senderCode,omitempty"` Config string `json:"config,omitempty"` Status int `json:"status,omitempty,omitempty"` CreateTime string `json:"createTime,omitempty,omitempty"` UpdateTime string `json:"updateTime,omitempty,omitempty"` }
type InfoWrapper ¶
type InfoWrapper struct { app.Response Info }
type SmsInfoWrapper ¶
type SmsInfoWrapper struct { app.Response SmsSenderInfo }
type SmsSenderInfo ¶
type SmsSenderInfo struct { Id int `json:"id,omitempty"` SenderCode string `json:"senderCode,omitempty"` Vendor string `json:"vendor,omitempty"` Status int `json:"status,omitempty,omitempty"` CreateTime string `json:"createTime,omitempty,omitempty"` UpdateTime string `json:"updateTime,omitempty,omitempty"` }
Click to show internal directories.
Click to hide internal directories.