今天后端同学给我们发来个截图,显示是没有获取到encryptedData,但是在本地环境中试了几次,都能获取得到,不知到是什么原因, 希望知道的大佬帮忙看一下哎!
后端提示报错信息:
(uuid=***********************************, channelId=40001, accessType=2, orderChannelId=null, plat=10, openId=null, nickName=null, avatarUrl=null, unionId=null, sex=null, country=null,province=广州, city=广州, ip=223.104.1.****, deviceInfo=Mozilla/5.0 (Linux; Android 11; PEGM10 Build/RKQ1.201217.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4233 MMWEBSDK/20220505 Mobile Safari/537.36 MMWEBID/1137 MicroMessenger/8.0.23.2160(0x28001751) WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64 MiniProgramEnv/android, encryptedData=null, iv=null, code=**********************************************, anonymousCode=null, entrance=7102, thirdAppId=null, userId=null, appName=null, channelName=null, shopId=0, spId=0, appType=0, appVersion=2.2, language=null, mobile=null)
前端代码如下: