Commit c6a97950 authored by 夏彬's avatar 夏彬

添加推送的消息推送的api

parent de4a0bac
......@@ -128,7 +128,7 @@ class Message extends Client
* @param int $type 类型 0 早报 1 求助 2 系统推送
* @return mixed
*/
public static function pushMsg($title, $url, $desc, $userId = 0, $from = 4, $type = 0)
public static function pushMsg($title, $url, $desc, $userId = 0, $from = 'u', $type = 0)
{
return self::call('message.pushMsg', compact('title', 'url', 'desc', 'userId','from','type'));
}
......
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