const url = "http://47.108.153.30/detail/2?checkcode=swqxad" const checkcode=url.split('=') console.log(checkcode[1]); const idcode=url.split('/') console.log(idcode[4]); idcode[4].