交友房开始推送消息
This commit is contained in:
@@ -41,6 +41,7 @@ class Friend extends Model
|
|||||||
$text['text'] = '交友开始';
|
$text['text'] = '交友开始';
|
||||||
$text['step'] = 2;
|
$text['step'] = 2;
|
||||||
$text['friend_id'] = $id;
|
$text['friend_id'] = $id;
|
||||||
|
$text['end_time'] = $data['end_time'];
|
||||||
model('api/Chat')->sendMsg(1049,$room_id,$text);
|
model('api/Chat')->sendMsg(1049,$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