From a3804434578a495c3080a4328cb52fa0103bb68a Mon Sep 17 00:00:00 2001 From: chaoxinggs Date: Mon, 28 Nov 2016 16:52:31 +0800 Subject: [PATCH] update mip-askad.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 因调用ip.120ask.com需要传随机字符串,而现在却是传的固定参数,所以奖固定参数改为时间戳。 --- mip-askad/mip-askad.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mip-askad/mip-askad.js b/mip-askad/mip-askad.js index 85b9aa68e..6865c811e 100755 --- a/mip-askad/mip-askad.js +++ b/mip-askad/mip-askad.js @@ -62,7 +62,8 @@ define(function (require) { mipcallList.push(callback) }else { mipLoadingJs = true; - var allurl = ["//ip.120ask.com/lt?js=m.120ask.com&r=1470735643","//scws.120ask.com/scws?t=js&content="+content,"//m.120ask.com/pub/js/x_m_none_jquery.js"]; + var timestamp = ( new Date()).valueOf(); + var allurl = ["//ip.120ask.com/lt?js=m.120ask.com&r="+timestamp,"//scws.120ask.com/scws?t=js&content="+content,"//m.120ask.com/pub/js/x_m_none_jquery.js"]; var calbacklen = 3; for(var i = 0; i< allurl.length; i++) {