|
我定义的一个变量:
int storeidinfo;
if(strcmp(lr_eval_string("{cityidsimple}"),"6")==0){
storeidinfo =atoi(lr_eval_string("{sh_storeidinfo}"));
}else {
storeidinfo =atoi(lr_eval_string("{bj_storeidinfo}"));
}
如何把这个变量赋给下面一段代码的fromcityid,来代替fromcityid的值
"Name=paramData", "Value=currentDateStr=2012-09-17%2010:47&act=loginSys&historyLocation=&fromcityname=%E4%B8%8A%E6%B5%B7&fromcityid=12&sentAddress=%E8%AF%B7%E8%BE%93%E5%85%A5%E8%AF%A6%E7%BB%86%E9%80%81%E8%BD%A6%E5%9C%B0%E5%9D%80&fromStoreName=%E8%99%B9%E6%A1%A5%E6%9C%BA%E5%9C%BA%E5%BA%97&fromstoreId={storeidinfo}&flightNo=&fromDate=2012-09-19&apdiv3=10:00&toDate=2012-09-25&apdiv3=10:00&tocityname=%E4%B8%8A%E6%B5%B7&tocityid={cityidsimple}&pickAddress=" |
|