企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
### fansSendPreview() ### 说明 ~~~ fansSendPreview($wxname, $content, $msgtype) ~~~ 群发预览接口 ### 参数 * $wxname 接收消息用户对应该公众号的openid * $content 发送文本消息时文本的内容或者群发的消息的media\_id * $msgtype 群发的消息类型, * 文本消息为text, * 图片为image, * 图文消息为news, * 语音为voice, * 视频为video, * 卡券为wxcard ### 返回值 #### error 可用is\_error判断,详见《错误处理》 #### success ~~~ array ( 'errcode' => '0' //错误码 'errmsg' => 'preview success' //错误信息) ~~~