|
如:A用户登陆,根据A用户所在部门查询部门职员列表,
登陆:
web_submit_form("login_main.php_2",
"Snapshot=t24.inf",
ITEMDATA,
"Name=YongHuMing", "Value=A用户", ENDITEM,
"Name=KouLing", "Value=软件部", ENDITEM,
"Name=btnLogin", "Value=登 录", ENDITEM,
EXTRARES,
部门职员列表查询:
web_submit_data("GB_JiBenXinXi_Query.php",
"Action=http://team:8881/jw/gan_bu/GB_JiBenXinXi_Query.php?ccsForm=RY_JiBenXinXi",
"Method=POST",
"RecContentType=text/html",
"Referer=http://team:8881/jw/gan_bu/GB_JiBenXinXi_Query.php",
"Snapshot=t26.inf",
"Mode=HTML",
ITEMDATA,
"Name=s_XingMing", "Value=", ENDITEM,
"Name=BuMenIDa", "Value={665DE723-8D98-40D4-A10B-1855788BDEAF}", ENDITEM,
"Name=s_BuMenID", "Value={665DE723-8D98-40D4-A10B-1855788BDEAF}", ENDITEM,
"Name=s_XingBie", "Value=", ENDITEM,
用户A所属部门ID:"Name=BuMenIDa", "Value={665DE723-8D98-40D4-A10B-1855788BDEAF}",
"Name=s_BuMenID", "Value={665DE723-8D98-40D4-A10B-1855788BDEAF}",
问题是当我想用用户B(综合部)登陆时,如何根据B所在部门ID来查询,进行验证回放
包含的表为
用户表:
YONGHUID BUMENID |
|