设置通知中心
功能表:reminderAncs
示例
Swift
let param = IDOSetNoticeStatusModel(...)
Cmds.setNoticeStatus(param).send { rs in
if case .success(let obj) = rs {
// 成功
// obj is IDONotificationCenterModel
}else {
// 失败
}
}
Kotlin
val param = IDOSetNoticeStatusModel(...)
Cmds.setNoticeStatus(param).send {
if (it.error.code == 0) {
// 成功
// it.res is IDONotificationCenterModel
}else {
// 失败
}
}