Vue动态组件+异步组件实战:Tab切换、按需加载、KeepAlive缓存,一次搞定
2026/6/16 3:41:13
anti_content_cp = execjs.compile(open('pxx2026-2.js','r',encoding='utf-8').read()) anti_content = anti_content_cp.call('getAnticontent',) encrypt_token_cp = execjs.compile(open('encryptToken.js','r',encoding='utf-8').read()) result = encrypt_token_cp.call('getcsr_risk_token') csr_risk_token = result.get('encryptedData') print(csr_risk_token) data = { "goods_id": '', "anti_content": anti_content, "csr_risk_token": csr_risk_token } data = json.dumps(data, separators=(',', ':')) response = requests.post(url, headers=headers, cookies=cookies, params=params, data=data) data = response.json() print(data) encrypt_info = data.get('encrypt_info','') if encrypt_info: print(encrypt_token_cp.call('********', encrypt_info, ........))