修正返回类型，优化提示

Signed-off-by: Richard Lea <chigix@zoho.com>
AlertService增加链式书写支持