用utf
还是gbk
这是发送请求的内容?
你想弄成什么格式
url编码的格式
biz_content=%7B%22goods_type%22%3A%220%22%2C%22out_trade_no%22%3A%22PHONE_FEE78211113214018%22%2C%22passback_params%22%3A%2213134091900%22%2C%22product_code%22%3A%22QUICK_WAP_WAY%22%2C%22subject%22%3A%22%E8%AF%9D%E8%B4%B9%E7%9B%B4%E5%85%8530%E5%85%83%22%2C%22timeout_express%22%3A%222m%22%2C%22total_amount%22%3A%2230.00%22%7D
弄成这样
是不是应该在返回响应的时候解码再编码?
我这个是发送
用urllib 里面的 urlencode
报错了
拉到最下面看看
TypeError: not a valid non-string sequence or mapping object