master
iotcat 4 years ago
parent c00eb73eb8
commit 7ec2db343e
  1. 7
      index.html

@ -51,7 +51,12 @@ $('#res').hide();
$('.next_step').click(function(){
getURL($('#url').val(), function(flag){
if(flag){
alert('good');
$.get('https://shorturl.yimian.xyz/api.php?url='+window.btoa($('#url').val()), function(res){
res = JSON.parse(res);
$('#res').show();
$('#res').val(res.key);
})
}else{
alert('请输入有效的链接!!')
}

Loading…
Cancel
Save