企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
# 聊天消息发送 ## send($uid1,$uid2,$content) > $uid1 = 消息接收者 $uid2 = 消息发送者, 如果输入0 则说明是系统消息 $content = 消息内容 >无返回值 ~~~ M("Chat")->send(2,NOW_UID,"hi"); ~~~ ## sys_send($uid,$content) 发送系统消息 > $uid = 接收者 $content 发送内容 ~~~ M("Chat")->sys_send(2,"我是系统管理员 hi"); ~~~