Commit b4958556 authored by clone's avatar clone

bug

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