|
9#
楼主 |
发表于 2011-8-9 16:44:14
|
只看该作者
回复 8# 云层
假如我录得时候是有2个记录则
web_reg_save_param("WCSParam4",
"LB/IC=\"flightID\" value=\"",
"RB/IC=\" /",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_reg_save_param("WCSParam5",
"LB/IC=\"flightID\" value=\"",
"RB/IC=\" /",
"Ord=2",
"Search=Body",
"RelFrameId=1",
LAST);
lr_start_transaction("cancel all");
web_submit_data("itinerary.pl_2",
"Action=http://127.0.0.1:1080/WebTours/itinerary.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/itinerary.pl",
"Snapshot=t23.inf",
"Mode=HTTP",
ITEMDATA,
"Name=flightID", "Value={WCSParam4}", ENDITEM,
"Name=flightID", "Value={WCSParam5}", ENDITEM,
"Name=.cgifields", "Value=1", ENDITEM,
"Name=.cgifields", "Value=2", ENDITEM,
"Name=removeAllFlights.x", "Value=62", ENDITEM,
"Name=removeAllFlights.y", "Value=10", ENDITEM,
LAST);
lr_end_transaction("cancel all",LR_AUTO);
那我的这个 web_custom_request("nav.pl_3", "Method=GET",
"URL=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=itinerary",
"Resource=0",
"RecContentType=text",
"Referer=http://127.0.0.1:1080/WebTours/welcome.pl?page=itinerary",
"Snapshot=t17.inf",
"Body=",
LAST);
加在什么位置啊?在web_reg_save_param(WCSParam4的前面,我试了这样如果记录中有1个或3个记录,还是删不了,请帮忙,谢谢!
|
|