Commit eb0f60ef authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent aa285789
......@@ -180,7 +180,7 @@ function clear() {
}
function openapi(api) {
$.getJSON($("#http").val + "://"+ip+":"+port+"/api/"+ api +"?username="+username+"&password="+password+"&message="+$("#message").val().replace(/\n/g,"!换行符!")+"&callback=?", function(data) {
$.getJSON($("#http").val() + "://"+ip+":"+port+"/api/"+ api +"?username="+username+"&password="+password+"&message="+$("#message").val().replace(/\n/g,"!换行符!")+"&callback=?", function(data) {
var data_li = $('<li>'+ data.message +'</li>');
data_li.appendTo($("#output"));
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment