fix bug in showUser

This commit is contained in:
lijing 2019-05-23 15:49:15 +08:00
parent 891db0bfb3
commit 199138ce32
2 changed files with 7 additions and 2 deletions

View File

@ -486,7 +486,12 @@ function showUsers(){
var target = $("#myspin").get(0);
spinner.spin(target);
var argu12 = "?operation=showUsers";
var username = getCookie('user');
var password = getCookie('pswd');
//alert("showDatabases");
var argu12 = "?operation=showUser&username=" + username + "&password=" + password;
var encodeArgu12 = escape(argu12);
$.get(encodeArgu12, function(data, status){
//setTimeout(function(){spinner.spin();}, 300);

View File

@ -17,7 +17,7 @@ using namespace std;
int main(int argc, char * argv[])
{
std::string IP = "127.0.0.1";
int Port = 9000;
int Port = 9100;
std::string username = "root";
std::string password = "123456";
std::string sparql = "select ?x where \