2013-2026MihuOs Group
About
Join us
Business
Academy
qique for everyone minICPbackup15015898number-3
qique for everyone minICPbackup15015898number-3
/** * 获得某个时间点之后的所有聊天记录 * @param [type] $lastChatTime 该时间点之后的聊天内容,空则从最开始获取 * @param integer $page 分页,0开始。一页1000条 * @return [type] * 返回字段说明: * total: 符合条件的消息总数 * consults: * cusId : 哪个顾客的消息, * msgOwner : 0: 顾客发的,1:客服回复的, * msgType : 1:文字,2:图片, 3: 音频,4: 视频,5:短视频, * content : 消息内容, * createTime : 消息创建时间 */ public function getAllChatHistoryByTime($lastChatTime = null, $page = 0)
/** * 获得某个顾客某个时间点之后的聊天记录 * @param [type] $wxac 公众号的开发者ID(AppID) * @param [type] $openId 顾客的openId * @param [type] $lastChatTime 该时间点之后的聊天内容,空则从最开始获取 * @param integer $page 分页,0开始。一页20条 * @return [type] * 返回字段说明: * total: 符合条件的消息总数 * cusId: 该顾客在企雀系统中的id * consults: * msgOwner : 0: 顾客发的,1:客服回复的, * msgType : 1:文字,2:图片, 3: 音频,4: 视频,5:短视频, * content : 消息内容, * createTime : 消息创建时间 */ public function getChatHistoryByOpenId($wxac, $openId, $lastChatTime = null, $page = 0)
open WeChat to’ scan ’and forward to a friend
open WeChat’ scan ’and open it in the mini app