|
|
@ -9,11 +9,12 @@ type warnLiaison struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Lists @Title 预警联系人列表
|
|
|
|
// Lists @Title 预警联系人列表
|
|
|
|
func (s *warnLiaison) Lists(ctx context.Context, args int) (reply []string, err error) {
|
|
|
|
func (s *warnLiaison) Lists(ctx context.Context) (reply []string, err error) {
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
args := 0
|
|
|
|
err = xClient.Call(ctx, "Lists", args, &reply)
|
|
|
|
err = xClient.Call(ctx, "Lists", args, &reply)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|