Documentation ¶
Index ¶
- func AddMailSender(_ server.Context)
- func AddSmsSender(_ server.Context)
- func DeleteMailSender(ctx server.Context)
- func DeleteSmsSender(ctx server.Context)
- func GetMailSenderInfo(ctx server.Context)
- func GetMailSenderList(ctx server.Context)
- func GetSmsSenderInfo(ctx server.Context)
- func GetSmsSenderList(ctx server.Context)
- func UpdateMailSender(ctx server.Context)
- func UpdateSmsSender(ctx server.Context)
- type Info
- type InfoWrapper
- type SmsInfoWrapper
- type SmsSenderInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMailSender ¶
func AddSmsSender ¶
func DeleteMailSender ¶
func DeleteSmsSender ¶
func GetMailSenderInfo ¶
GetMailSenderInfo * @Router /api/mail_sender/{id} [get]
func GetMailSenderList ¶
func GetSmsSenderInfo ¶
GetSmsSenderInfo * @Router /api/sms_sender/{id} [get]
func GetSmsSenderList ¶
func UpdateMailSender ¶
func UpdateSmsSender ¶
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.