void http_callback_auth(httpd *webserver, request *r)
{
t_client *client;
httpVar * token;
char *mac;
httpVar *logout = httpdGetVariableByName(r, "logout");
if (wx_link_wifi == 1) {
debug(LOG_DEBUG, "#####http_callback_auth#######: %s/%s\r\n", r->request.host, r->request.path);
return;
}
t_client *client;
httpVar * token;
char *mac;
httpVar *logout = httpdGetVariableByName(r, "logout");
if (wx_link_wifi == 1) {
debug(LOG_DEBUG, "#####http_callback_auth#######: %s/%s\r\n", r->request.host, r->request.path);
return;
}
debug(LOG_DEBUG, "!!!!http_callback_auth!!!\n");
/*
检查http 报文里有没有token*/
if ((token = httpdGetVariableByName(r, "token"))) {
/* They supplied variable "token" */
/*