js页面停留时间
摘要://在线阅读时间 function onlineRead(minutes){ var o= new Object(); o.courseId=courseId; o.userId=userId; o.onlineTime=minutes; var json=JSON.stringify(o); if(...
阅读全文
posted @
2017-12-20 18:25
Yusco
阅读(454)
推荐(0)
Web Service
摘要:1.web.xml 2.spring.xml配置 3.服务接口实现 4.客户端访问wsdl new-->other --webServiceClient
阅读全文
posted @
2017-12-15 15:21
Yusco
阅读(403)
推荐(0)
js求时间差,两个日期月份差
摘要:var date1=new Date(); //开始时间 alert("aa"); var date2=new Date(); //结束时间 var date3=date2.getTime()-date1.getTime() //时间差的毫秒数 //计算出相差天数 var days=Math.flo
阅读全文
posted @
2017-12-01 11:34
Yusco
阅读(611)
推荐(0)
js记录用户访问页面和停留时间
摘要:1、setIntervalsetInterval() 方法可按照指定的周期(以毫秒计)来调用函数或计算表达式。setInterval(code,millisec[,"lang"])code 必需。要调用的函数或要执行的代码串。millisec 必须。周期性执行或调用 code 之间的时间间隔,以毫秒
阅读全文
posted @
2017-12-01 11:07
Yusco
阅读(8032)
推荐(1)