pusher/idl/config.thrift
timerzz e099838d65
All checks were successful
Build image / build (push) Successful in 1m27s
feat 修改pusher options返回类型
2024-05-21 14:01:28 +08:00

39 lines
605 B
Thrift

enum PusherConfigType {
AnPush = 1,
Email
}
struct PusherConfig {
1: i64 id
2: i64 createdAt
3: PusherConfigType type
4: required string name
5: string remark
6: required string option
}
struct PusherOption {
1: string title
2: PusherConfigType type
3: list<FormItem> formItems
}
struct FormItem {
1: string param
2: string type
3: bool require
}
struct AnPush {
1: string token
2: string channel
}
struct EmailPush {
1: string from
2: string to
3: string username
4: string password
5: string host
6: i32 port
}