wx.scanCode扫描存在自定义参数的小程序码返回的结果path中的参数需不需要decode?
在ide种扫描小程序码后得到的结果:其中path种scene已经encode,但是在真机调试的时候并没有decode。 生产环境中以那种为准呀? ide种返回的结果:
charSet: "UTF-8"
errMsg: "scanCode:ok"
path: "pages/pindex/pindex?scene=shopUserId%3D204%3D2%3Dtrue"
rawData: "bGQxazpYWWE3SjZTUGZAXzMuZyhaS2tJZD0yMDQ9Mj10cnVl"
scanType: "WX_CODE"
真机调试返回的结果:
charSet: "utf-8"
codeVersion: 1
errMsg: "scanCode:ok"
path: "pages/pindex/pindex?scene=shopUserId=64=2=false"
rawData: "bGQxazpYWWE3SjZTUGZAXzMuZyhaS2tJZD02ND0yPWZhbHNl"
result: ""
scanType: "WX_CODE"