The php file api has successfully returned data as shown in the picture. I added a jump code after the php file<script>top.location='<?php echo urldecode($url["url"]); ?> ';</script>I want to extract the content of couponClickUrl in the returned data and put it into the above code so that it can jump. How should I write it? Xiaobai hopes that the boss can help.
Your url should be changed to couponClickUrl