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/pages/js/common.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gx_tieta/WebRoot/pages/js/common.js b/gx_tieta/WebRoot/pages/js/common.js
index 23d1aca..cf9e222 100644
--- a/gx_tieta/WebRoot/pages/js/common.js
+++ b/gx_tieta/WebRoot/pages/js/common.js
@@ -557,13 +557,12 @@
 function searchStationSignal(param,callback){
 	$.ajax({ 	
         type:"post", 								
-        url: "Bts_gprs_stateAction_action_update",						
+        url: "Bts_gprs_stateAction_action_update?t="+(new Date().getTime()),						
         async:true,				
         dataType:'json',
         data:'json='+JSON.stringify(param),		
         success: function(data){ 
 			var model = eval('('+data.result+')');
-			console.info(model);
 			if(callback && typeof callback == 'function'){
 				callback(model);
 			}

--
Gitblit v1.9.1