Files
iotlcm/server/api/app/v1/notification.go
T

25 lines
809 B
Go

package v1
import (
"github.com/gogf/gf/v2/frame/g"
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model"
)
type WarningPreferenceReq struct {
g.Meta `path:"/user/wechat/warning-preference" method:"get" tags:"APP-用户" summary:"读取微信预警提醒偏好"`
}
type WarningPreferenceRes struct {
model.AppWarningPreferenceModel
}
type SaveWarningPreferenceReq struct {
g.Meta `path:"/user/wechat/warning-preference" method:"post" tags:"APP-用户" summary:"保存微信预警提醒偏好"`
model.AppWarningPreferenceParam
}
type SaveWarningPreferenceRes struct {
model.AppWarningPreferenceModel
}
type UnbindWechatReq struct {
g.Meta `path:"/user/wechat/unbind" method:"post" tags:"APP-用户" summary:"解除当前账号微信绑定"`
}
type UnbindWechatRes struct{ model.AppWechatBindModel }