上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: 做了个游戏需要上面显示实时的时间,而且只显示时分秒不显示年月日Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 ... 阅读全文
posted @ 2018-02-10 15:33 anliex 阅读(11) 评论(0) 推荐(0)
摘要: 当数据库给字段设置字符集为utf8的话会保存报错,把字符集设置成utf8mb4,即可解决问题 阅读全文
posted @ 2018-02-09 10:43 anliex 阅读(21) 评论(0) 推荐(0)
摘要: 命令行重启Tomcat:首先找到tomcat所在bin目录下使用tomcat的关闭命令:./shutdown.sh然后最好还是查看一下Tomcat的关闭状态ps -ef|grep tomcat如果现实一些类似这种信息,说明没有完全关闭,需要直接杀死进程root... 阅读全文
posted @ 2018-02-08 11:22 anliex 阅读(28) 评论(0) 推荐(0)
摘要: js是这样的 function bf(){ var audio = document.getElementById('music1'); if(audio!==null){ //检测播放是否已暂停.audio.paused 在... 阅读全文
posted @ 2018-02-07 16:47 anliex 阅读(16) 评论(0) 推荐(0)
摘要: 时间为9秒执行一次这个ajax,相当于一个小的定时器 setInterval(function () { $.ajax({ async: false, url: "请求路径", type: "post", ... 阅读全文
posted @ 2018-02-07 11:42 anliex 阅读(130) 评论(0) 推荐(0)
摘要: 看一下原因,就是这个样子,一个从 数据库中查询出的数组中的对象中的属性,我只需要prize_id这个字段的值,然后我的方法就是ajax请求 $.ajax({ async: false, url: "/请求路径... 阅读全文
posted @ 2018-02-01 11:54 anliex 阅读(672) 评论(0) 推荐(0)
摘要: maven中引入定时器任务 it.sauronsoftware.cron4j cron4j 2.2.5 然后在继承JFinalConfig中引入相应的配置文件 /** * 配置插件 */ public void con... 阅读全文
posted @ 2018-01-22 17:49 anliex 阅读(145) 评论(0) 推荐(0)
摘要: 在Spring配置文件中进行配置基本信息 在xmlns中添加 xmlns:task="http://www.springframework.org/schema/task" 在xsi中添加 http://www.springframework.or... 阅读全文
posted @ 2018-01-22 17:40 anliex 阅读(23) 评论(0) 推荐(0)
摘要: idea在c盘中产生的缓存文件大概800多m,占据了c盘的很大空间,可以把这个东西移到其他盘符下,我的操作是移动到E盘 # path to IDEA config folder. Make sure you're using forward slashes ... 阅读全文
posted @ 2018-01-04 14:27 anliex 阅读(785) 评论(0) 推荐(0)
摘要: 其实休眠文件既占内存,又没用。简单的方法删除休眠文件,win+r然后键入cmd到windows的dos命令串口下,然后键入 powe... 阅读全文
posted @ 2018-01-04 10:42 anliex 阅读(54) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页