function getApi() { $.get('/Home/getStudyApiInfo'+'?code='+$("#regCode").val(), function (ar) { if (ar.Success) { alert(ar.Data.Api); } else { alert('错误-'+ar.Message); } }); }