MCPcopy Create free account
hub / github.com/doraemonext/wechat-python-sdk / create_qrcode

Method create_qrcode

wechat_sdk/basic.py:739–750  ·  view source on GitHub ↗

创建二维码 详情请参考 http://mp.weixin.qq.com/wiki/18/28fc21e7ed87bec960651f0ce873ef8a.html :param data: 你要发送的参数 dict :return: 返回的 JSON 数据包

(self, data)

Source from the content-addressed store, hash-verified

737 )
738
739 def create_qrcode(self, data):
740 """
741 创建二维码
742 详情请参考 http://mp.weixin.qq.com/wiki/18/28fc21e7ed87bec960651f0ce873ef8a.html
743 :param data: 你要发送的参数 dict
744 :return: 返回的 JSON 数据包
745 """
746 data = self._transcoding_dict(data)
747 return self.request.post(
748 url='https://api.weixin.qq.com/cgi-bin/qrcode/create',
749 data=data
750 )
751
752 def show_qrcode(self, ticket):
753 """

Callers 1

test_create_qrcodeMethod · 0.95

Calls 2

_transcoding_dictMethod · 0.80
postMethod · 0.80

Tested by 1

test_create_qrcodeMethod · 0.76