mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-12-26 10:05:58 +08:00
模块化定时任务,方便在插件中注册任务;增加日志分组
This commit is contained in:
@@ -14,6 +14,7 @@ type SendTestSmsReq struct {
|
||||
Code string `json:"code" v:"required#接收验证码不能为空" dc:"接收验证码"`
|
||||
g.Meta `path:"/sms/sendTest" tags:"短信" method:"post" summary:"发送测试短信"`
|
||||
}
|
||||
|
||||
type SendTestSmsRes struct {
|
||||
}
|
||||
|
||||
@@ -21,6 +22,7 @@ type SendTestSmsRes struct {
|
||||
type SendBindSmsReq struct {
|
||||
g.Meta `path:"/sms/sendBind" tags:"短信" method:"post" summary:"发送换绑短信"`
|
||||
}
|
||||
|
||||
type SendBindSmsRes struct {
|
||||
}
|
||||
|
||||
@@ -30,5 +32,6 @@ type SendSmsReq struct {
|
||||
Event string `json:"event" v:"required#事件模板不能为空" dc:"事件模板"`
|
||||
Mobile string `json:"mobile" v:"required#接收手机号不能为空" dc:"接收手机号"`
|
||||
}
|
||||
|
||||
type SendSmsRes struct {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user