Commit b4958556 authored by clone's avatar clone

bug

parent 56885084
...@@ -65,7 +65,6 @@ class ChatService ...@@ -65,7 +65,6 @@ class ChatService
*/ */
public function register($user_id, $mobile, $source) public function register($user_id, $mobile, $source)
{ {
//todo
$params["type"] = $source; $params["type"] = $source;
$params["user_id"] = $user_id; $params["user_id"] = $user_id;
$params["phone"] = $mobile; $params["phone"] = $mobile;
......
<?php <?php
namespace app\chat\utils;
/** /**
* Created by PhpStorm. * Created by PhpStorm.
* User: hujun * User: hujun
...@@ -6,9 +7,6 @@ ...@@ -6,9 +7,6 @@
* Time: 21:09 * Time: 21:09
*/ */
namespace app\chat\utils;
use RequestException; use RequestException;
define('IGT_APP_ID', 'A8raBWQxuX9bcVmk3rkWa5'); define('IGT_APP_ID', 'A8raBWQxuX9bcVmk3rkWa5');
......
...@@ -66,7 +66,7 @@ class RPush ...@@ -66,7 +66,7 @@ class RPush
{ {
$arr = array( $arr = array(
'target_type' => $target_type, 'target_type' => $target_type,
'target' => $target, 'target' => $target,//[1,2,3]
'msg' => [ "type" => "txt", "msg" => $msg_content ], 'msg' => [ "type" => "txt", "msg" => $msg_content ],
'from' => $from, 'from' => $from,
'ext' => [ "msg_type" => $type ,"user_name"=>$user_name] 'ext' => [ "msg_type" => $type ,"user_name"=>$user_name]
......
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