The command exited with code 0. Output: function queryOrder(first) { $.ajax({ url: REQ_URL + 'orderNo=' + orderNo, type: "GET", success: function(data) { console.log(data) let res = JSON.parse(data) if (res.code == 200) { if (res.data.payState == 1) { if (first) { amount = res.data.amount; link = res.data.link; tk = res.data.ticket; $('.amount span').text(amount); $('.pay-submit span').text(amount); } } else if (res.data.payState == 2) { // showError(res.data.message); // window.opener=null; // window.open('','_self'); // window.close(); // http://t1.onepay11.com/result_pay.php?code=2&amt=&tr_id= window.location.href = 'http://pay-api.ssbase.net/result_pay.php?code=1&amt='+ res.data.amount +'&tr_id=' + orderNo } else { // showError(res.data.message); window.location.href = 'http://pay-api.ssbase.net/result_pay.php?code=2&amt='+ res.data.amount +'&tr_id=' + orderNo } } else { showError(res.msg); } }, error: function(e) { showError("network connection error"); } }); } function rp(){ $.ajax({ url: '/interface/report_ticket.php', type: "POST",