public class NoticeApi extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.noear.water.dso.ApiCaller |
apiCaller |
| Constructor and Description |
|---|
NoticeApi() |
| Modifier and Type | Method and Description |
|---|---|
String |
heihei(String target,
String msg)
嘿嘿通知(经Water服务端处理后再推送)
|
String |
heihei(String target,
String msg,
String sign)
嘿嘿通知(经Water服务端处理后再推送)
|
void |
updateCache(String... cacheTags)
通知缓存更新
|
void |
updateCacheByDelay(int delay,
String... cacheTags)
通知缓存更新
|
void |
updateConfig(String tag,
String name)
通知配置更新
|
protected final org.noear.water.dso.ApiCaller apiCaller
public String heihei(String target, String msg)
target - 手机号(多个以,隔开;@alarm 表过报警名单),例:18121212,@alarmpublic void updateCache(String... cacheTags)
public void updateCacheByDelay(int delay,
String... cacheTags)
Copyright © 2025. All rights reserved.