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/src/com/fgkj/actions/User_ChartAction.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/User_ChartAction.java b/gx_tieta/src/com/fgkj/actions/User_ChartAction.java index aa7d4c0..bba9c7b 100644 --- a/gx_tieta/src/com/fgkj/actions/User_ChartAction.java +++ b/gx_tieta/src/com/fgkj/actions/User_ChartAction.java @@ -43,6 +43,8 @@ put("devalarm","home_warn.gif"); put("precharge","home_warn.gif"); put("onlinecharge","home_warn.gif"); + put("poff","poff.gif"); + put("install","install.gif"); } }; @@ -160,6 +162,10 @@ uc.setChart_pre_charge(files.get(i)); }else if("onlinecharge".equals(ftype.get(i))){ uc.setChart_online_charge(files.get(i)); + }else if("poff".equals(ftype.get(i))){ + uc.setChart_poff(files.get(i)); + }else if("install".equals(ftype.get(i))){ + uc.setChart_install(files.get(i)); } } -- Gitblit v1.9.1