Commit c4158bce authored by 夏彬's avatar 夏彬

添加推送的消息推送的api

parent 0a5974f0
...@@ -121,11 +121,11 @@ class Message extends Client ...@@ -121,11 +121,11 @@ class Message extends Client
/** /**
* @param $title 消息标题 * @param $title 消息标题
* @param $url url地址 * @param $url
* @param $desc 描述 * @param $desc 描述
* @param int $userId 用户id 0=>代表全部 * @param int $userId 用户id 0=>代表全部
* @param string $from 来自 * @param string $from 来自
* @param int $type 类型 0 早报 1 求助 2 系统推送 * @param int $type 保留
* @return mixed * @return mixed
*/ */
public static function pushMsg($title, $url, $desc, $userId = 0, $from = 'u', $type = 0) public static function pushMsg($title, $url, $desc, $userId = 0, $from = 'u', $type = 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment