更新历史消息提示
parent
433e2149e5
commit
fd44a52315
|
@ -544,6 +544,11 @@ class TalkController extends CController
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
LastMsgCache::set([
|
||||||
|
'text' => '[图片消息]',
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
|
||||||
|
|
||||||
return $this->response->success();
|
return $this->response->success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -589,6 +594,11 @@ class TalkController extends CController
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
LastMsgCache::set([
|
||||||
|
'text' => '[代码消息]',
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
|
||||||
|
|
||||||
return $this->response->success();
|
return $this->response->success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -654,6 +664,11 @@ class TalkController extends CController
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
LastMsgCache::set([
|
||||||
|
'text' => '[文件消息]',
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
|
||||||
|
|
||||||
return $this->response->success();
|
return $this->response->success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -709,6 +724,11 @@ class TalkController extends CController
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
LastMsgCache::set([
|
||||||
|
'text' => '[表情包消息]',
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
|
||||||
|
|
||||||
return $this->response->success();
|
return $this->response->success();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue