From 6f507a88aaa6ba13c6cd20be81e4486b843f8a9d Mon Sep 17 00:00:00 2001 From: LiJun <LiJun@192.168.10.20> Date: 星期四, 15 十一月 2018 11:40:32 +0800 Subject: [PATCH] 在跨域请求中添加key识别判断,判断不通过则返回校验失败 <--------------------跨域访问-------------------------------> --- gx_tieta/WebRoot/charge-test.jsp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/charge-test.jsp b/gx_tieta/WebRoot/charge-test.jsp index 166b111..c3d6430 100644 --- a/gx_tieta/WebRoot/charge-test.jsp +++ b/gx_tieta/WebRoot/charge-test.jsp @@ -3410,8 +3410,8 @@ var city = batt.StationName2; var county = batt.StationName5; var home = batt.StationName; - var homeid = batt.BattGroupId; - $(this).attr('href', 'control.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home+'&homeid='+homeid); + var battid = batt.BattGroupId; + $(this).attr('href', 'control.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home+'&battid='+battid); }); }); -- Gitblit v1.9.1