|
5#
楼主 |
发表于 2010-10-14 10:01:18
|
只看该作者
非常感谢大家的回答,我目前是修改的用户资料是根据登录用户名取出来的,那是不是修改资料这部分的所有字段信息都要做参数化,如果做参数化的话如何能设置参数化选项才能保证我从数据库中取出来每个字段的值都是能对应上的,如何设置参数化的选项呢,多谢多谢!
// [WCSPARAM WCSParam_Diff2 32 7fbd5c6e86124ca23c76a771abf5e9ed] Parameter {WCSParam_Diff2} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff2", "LB= value=\"", "RB=\"", "Ord=1", "IgnoreRedirections=Yes", "Search=Body", "RelFrameId=1", LAST );
web_submit_data("declare_explor_md2.do",
"Action=http://10.67.1.38:7012/etrading/declare_explor_md2.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.67.1.38:7012/etrading/trade/declare_md2.jsp?fundcode=002021",
"Snapshot=t86.inf",
"Mode=HTTP",
ITEMDATA,
"Name=functionno", "Value=04", ENDITEM,
"Name=fundcode", "Value=002021", ENDITEM,
"Name=remitusTradeacco", "Value=", ENDITEM,
"Name=tradeaccoTmp", "Value=20000541271", ENDITEM,
"Name=capitalmodeTmp", "Value=F", ENDITEM,
"Name=bankidcard", "Value=416160192316856621", ENDITEM,
"Name=sharetype", "Value=A", ENDITEM,
"Name=moneySource", "Value=0", ENDITEM,
"Name=tradeaccoTmp2", "Value=20000004576", ENDITEM,
"Name=broker", "Value=", ENDITEM,
"Name=declaresum", "Value=1001", ENDITEM,
"Name=kkxz", "Value=", ENDITEM,
"Name=submit", "Value=?", ENDITEM,
"Name=reserved", "Value=", ENDITEM,
"Name=reserved2", "Value=", ENDITEM,
"Name=governor", "Value=", ENDITEM,
"Name=governorpassword", "Value=", ENDITEM,
"Name=balancecoin", "Value=156", ENDITEM,
"Name=trademethod", "Value=0", ENDITEM,
"Name=bankpassword", "Value=", ENDITEM,
"Name=serial", "Value=", ENDITEM,
"Name=broker", "Value=", ENDITEM,
"Name=discountrate", "Value=1", ENDITEM,
"Name=promotion", "Value=", ENDITEM,
"Name=partflag", "Value=", ENDITEM,
"Name=fixbusinflag", "Value=", ENDITEM,
"Name=returnflag", "Value=", ENDITEM,
"Name=delayday", "Value=", ENDITEM,
"Name=discountflag", "Value=", ENDITEM,
"Name=tradeacco", "Value=20000541271", ENDITEM,
"Name=serial", "Value=", ENDITEM,
"Name=capitalmode", "Value=F", ENDITEM,
"Name=remindInfoHTML", "Value=?? 0.8||", ENDITEM,
LAST);
lr_think_time(21);
lr_start_transaction("申购事务");
web_submit_data("declare.do",
"Action=http://10.67.1.38:7012/etrading/declare.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.67.1.38:7012/etrading/declare_explor_md2.do",
"Snapshot=t87.inf",
"Mode=HTTP",
ITEMDATA,
"Name=org.apache.struts.taglib.html.TOKEN", "Value={WCSParam_Diff2}", ENDITEM,
"Name=discountflag", "Value=", ENDITEM,
"Name=sharetype", "Value=A", ENDITEM,
"Name=capitalmodeTmp", "Value=F", ENDITEM,
"Name=tradeaccoTmp", "Value=20000541271", ENDITEM,
"Name=declaresum", "Value=1001", ENDITEM,
"Name=fixbusinflag", "Value=", ENDITEM,
"Name=trademethod", "Value=0", ENDITEM,
"Name=submit", "Value=?", ENDITEM,
"Name=tradeaccoTmp2", "Value=20000004576", ENDITEM,
"Name=moneySource", "Value=0", ENDITEM,
"Name=partflag", "Value=", ENDITEM,
"Name=functionno", "Value=04", ENDITEM,
"Name=returnflag", "Value=", ENDITEM,
"Name=fundcode", "Value=002021", ENDITEM,
"Name=reserved2", "Value=", ENDITEM,
"Name=bankpassword", "Value=", ENDITEM,
"Name=serial", "Value=", ENDITEM,
"Name=remindInfoHTML", "Value=?? 0.8||", ENDITEM,
"Name=governor", "Value=", ENDITEM,
"Name=promotion", "Value=", ENDITEM,
"Name=tradeacco", "Value=20000541271", ENDITEM,
"Name=broker", "Value=", ENDITEM,
"Name=remitusTradeacco", "Value=", ENDITEM,
"Name=balancecoin", "Value=156", ENDITEM,
"Name=bankidcard", "Value=416160192316856621", ENDITEM,
"Name=delayday", "Value=", ENDITEM,
"Name=governorpassword", "Value=", ENDITEM,
"Name=discountrate", "Value=1", ENDITEM,
"Name=capitalmode", "Value=F", ENDITEM,
"Name=kkxz", "Value=", ENDITEM,
"Name=reserved", "Value=", ENDITEM,
"Name=submit", "Value=?", ENDITEM,
"Name=detailcapitalmode", "Value=01", ENDITEM,
LAST); |
|