package v1 import ( "git.5iot.com/iotlcm-public/iotlcm-app/internal/model" "github.com/gogf/gf/v2/frame/g" ) type WarningConfigListReq struct { g.Meta `path:"/warning/config/list" method:"get" tags:"APP-预警" summary:"查询单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:list,cpm:iot:simWarningConfig:view,cpm:iot:tSimWarningConfig:input:submit"` model.AppWarningConfigListParam } type WarningConfigListRes struct { model.AppWarningConfigListModel } type WarningConfigSaveReq struct { g.Meta `path:"/warning/config/save" method:"post" tags:"APP-预警" summary:"保存单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:save,cpm:iot:tSimWarningConfig:input:submit"` model.AppWarningConfigSaveParam } type WarningConfigSaveRes struct { model.AppWarningConfigSaveModel } type WarningConfigNotifyReq struct { g.Meta `path:"/warning/config/notify" method:"post" tags:"APP-预警" summary:"设置单卡小程序预警通知" x-check-permission:"cpm:iot:simWarningConfig:save,cpm:iot:tSimWarningConfig:input:submit"` model.AppWarningConfigNotifyParam } type WarningConfigNotifyRes struct { model.AppWarningConfigNotifyModel } type WarningConfigMetaReq struct { g.Meta `path:"/warning/config/meta" method:"get" tags:"APP-预警" summary:"查询预警订阅配置元信息" x-check-permission:"cpm:iot:simWarningConfig:list,cpm:iot:simWarningConfig:view,cpm:iot:tSimWarningConfig:input:submit"` } type WarningConfigMetaRes struct { model.AppWarningConfigMetaModel } type WarningConfigBatchSaveReq struct { g.Meta `path:"/warning/config/batch-save" method:"post" tags:"APP-预警" summary:"批量保存单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:save,cpm:iot:tSimWarningConfig:input:submit,cpm:iot:tSimWarningConfig:range:submit"` model.AppWarningConfigBatchSaveParam } type WarningConfigBatchSaveRes struct { model.AppWarningConfigBatchSaveModel } type WarningConfigBatchNotifyReq struct { g.Meta `path:"/warning/config/batch-notify" method:"post" tags:"APP-预警" summary:"批量设置单卡小程序预警通知" x-check-permission:"cpm:iot:simWarningConfig:save,cpm:iot:tSimWarningConfig:input:submit,cpm:iot:tSimWarningConfig:range:submit"` model.AppWarningConfigBatchNotifyParam } type WarningConfigBatchNotifyRes struct { model.AppWarningConfigBatchNotifyModel }