Action()
{
char *url = "127.0.0.1:1080";
char arr_url[1024];
//将url变量的值复制给p_url1参数
lr_save_string(url,"p_url");
//将p_url1参数的值复制给arr_url变量
strcpy(arr_url,"URL=http://");
strcat(arr_url,lr_eval_string("{p_url}"));
strcat(arr_url,"/webtours/welcome.pl?page=search");
lr_output_message("通过获取参数的值的方式发送请求");
web_url("webtours",
"URL=http://{p_url}/webtours/welcome.pl?page=search",
LAST
);
lr_output_message("通过获取变量的值的方式发送请求");
web_url(
"webtours",
arr_url,
LAST
);
return 0;
}