let indexUrl = "https://m-abtest.hntxxy.com/cooperation/mini-program/report/signin.html?supremeToken=cGY0SkZzTS92K3UrbVk5M0V0QXRUSXJUTVBMa2JTVmlNV2JvalZ2TDN4b2pRRk5WQnpod3dGTWIzc1pXVzVIN0RJMUgyZ3B1eC84RW9nL0VUcjhUMHdpM2pXMDQ0bUJtczlxMldXM0k2SDhRQmRic01tcnY0dTRzSmtyanBsZld6NUJwaCtQTllMYjI4Q2RXclIrV0ZneG9XdEJzNTlFTTZYdTZjRGR3Ly9tR0FnWFlUQ2M5RjJxa3dRSU1jd2R1&reportUrl=https%3A%2F%2Fm.hntxxy.com%2Fcooperation%2Fcrp-v2%2Fquery.html%3Ftxxychannel%3DRDE4Q3p1b3NWc2JRS2hsOEkxK1lEZz09%26viewReport%3D2%26reportId%3DOGU5aHg0THhSd2xQZXMzRlc2ZDkrZz09%26channel%3DVGFCT0haeE1BaTJxQmFWbVBFS2xxQT09%26fromSource%3Dalipay%26url_path%3D%25E6%259F%25A5%25E7%259C%258B%25E6%258A%25A5%25E5%2591%258A%25E9%25A1%25B5_%25E6%259B%259D%25E5%2585%2589%26txxyopenid%3D2088702076651093%26txxyappid%3D2019032863695345";
let url = new URL(indexUrl);
let params = new URLSearchParams(url.search);
// console.log('url', url);
console.log('params', params);
params.forEach((value, key, index) => {
console.log('key: ', key, ', value: ', value)
})
console.error('reportUrl>>>', params.get('reportUrl'))
console