企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
函数源码位置在:`apps/functions/wechat.php` #### 获取微信资源对象(get_wechat_object) ~~~ /** * 获取微信资源对象,实例化对象 * @param string $wxid 微信ID * @return [type] [description] * @date 2017-08-22 */ function get_wechat_object($wxid ='') ~~~ #### 获取指定公众号配置信息(get_wechat_info) ~~~ /** * 获取指定公众号信息 * @param string $wxid 微信ID * @return [type] [description] * @date 2017-08-22 */ function get_wechat_info($wxid = '') ~~~ #### 设置/获取用户标识(get_openid) ~~~ /** * 设置/获取用户标识 * @param string $openid 如果为空则返回当前用户标识 * @return [type] [description] */ function get_openid($openid = '') ~~~ #### 设置/获取当前公众号标识(get_wxid) ~~~ /** * 设置/获取当前公众号标识 * @param integer $wxid 如果为空则获取当前公众号标识 * @return [type] [description] * @date 2017-08-22 */ function get_wxid($wxid = 0) ~~~ 微信端的错误码中文对照(error_msg) ~~~ /** * 微信端的错误码中文对照,传入错误码返回 * @param [type] $return [description] * @param string $more_tips [description] * @return [type] [description] */ function error_msg($return, $more_tips = '') ~~~