Commit 3e8c8d13 authored by clone's avatar clone

bug

parent e4d91c12
......@@ -85,7 +85,6 @@ class AppChat extends Basic
"source" => 1, //1经纪人 2用户
"device_id" => "ssss1231231123123",
"push_id" => "ssss1231231123123"
);*/
......@@ -149,16 +148,16 @@ class AppChat extends Basic
{
$params = $this->params;
/*$params = array(
$params = array(
'user_name' => 'cesh',
'msg_content' => 'ceshi666',
'target_type' => 'users',
'source' => '1',
'from' => 'qqqq',
'from' => 'user_1',
'type' => '1',
'is_user' => '0',
'target' => 'agent_5740',
);*/
'target' => 'agent_5739',
);
if (!isset($params['target_type']) || !isset($params['target']) || !isset($params['type'])
|| !isset($params['msg_content']) || !isset($params['source']) || !isset($params['is_user']) || !isset($params['from'])) {
return $this->response(ErrorCodeConst::ERROR_CODE_PARAM_NOT_EXIST, "请求参数错误");
......
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