交友开始返回数据处理
This commit is contained in:
@@ -40,6 +40,7 @@ class Friend extends Model
|
|||||||
//推送给前端消息
|
//推送给前端消息
|
||||||
$text['text'] = '交友开始';
|
$text['text'] = '交友开始';
|
||||||
$text['step'] = 2;
|
$text['step'] = 2;
|
||||||
|
$text['friend_id'] = $id;
|
||||||
model('api/Chat')->sendMsg(1039,$room_id,$text);
|
model('api/Chat')->sendMsg(1039,$room_id,$text);
|
||||||
return ['code' => 1, 'msg' => '操作成功!', 'data' => ['friend_id' => $id]];
|
return ['code' => 1, 'msg' => '操作成功!', 'data' => ['friend_id' => $id]];
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user