conscloud

Results 4 comments of conscloud

> 手动安装即可。 麻烦问下,手动怎么安装

支持,对这个需求比较迫切

可以通过squid进行代理,vps搭建squid服务,然后在配置文件中加入代理配置,在WechatComAppChannel类的初始时增加一行代码,self.client._http.proxies.update(proxies),就可以实现代理访问。 proxies = { "http": "http://user:passwd@ip:port", "https": "http://user:passwd@ip:port", } ~~~python class WechatComAppChannel(ChatChannel): NOT_SUPPORT_REPLYTYPE = [] def __init__(self): super().__init__() self.corp_id = conf().get("wechatcom_corp_id") self.secret = conf().get("wechatcomapp_secret") self.agent_id = conf().get("wechatcomapp_agent_id") self.token = conf().get("wechatcomapp_token")...