프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$addTime | 推送时间 | ||
$content | |||
$enable | |||
$id | |||
$order | 结束推送时间 | ||
$pushEndTime | 消息类型: 0 正常消息(推送一次后将不会再次提示) 1 重复推送消息 | ||
$pushTime | 内容 | ||
$pushUsers | 添加时间 | ||
$type | 推送用户 为空或-1值推送给所有用户 指定用户,使用json格式,例子{1,3,4,5,6,7,10,11} |
메소드 | 설명 | |
---|---|---|
deleteMessageById ( $id ) : boolean | Delete message by id | |
deleteOuttimeMessage ( ) : boolean | Delete push time out message | |
getGlobalMessage ( ) : array | Get global message | |
getMessageById ( $id ) : mixed | Get message by id | |
getMessageByUid ( string $userId = '-1' ) : array | Get push message by userId | |
getPushMessage ( integer $pushEndTime ) : array | Get push message array by end time. |
public static deleteMessageById ( $id ) : boolean | ||
$id | ||
리턴 | boolean |
public static deleteOuttimeMessage ( ) : boolean | ||
리턴 | boolean |
public static getGlobalMessage ( ) : array | ||
리턴 | array |
public static getMessageById ( $id ) : mixed | ||
$id | ||
리턴 | mixed |
public static getMessageByUid ( string $userId = '-1' ) : array | ||
$userId | string | |
리턴 | array |
public static getPushMessage ( integer $pushEndTime ) : array | ||
$pushEndTime | integer | |
리턴 | array |