08 2016 档案
摘要:You often won’t need to use application events, but it can be handy to know that they exist. Internally, Spring Boot uses events to handle a variety o
阅读全文
摘要:1、系统自动生成 SpringApplication.run(XX.class, args); 2、创建SpringApplication对象 SpringApplication app = new SpringApplication(DemoApplication.class); app.setBannerMode(Banner.Mode.OFF); app.run(); 3、Fluent...
阅读全文
摘要:BroadcastReceiver所对应的广播分两类:普通广播和有序广播。 (1)普通广播所有的receivers接收器的执行顺序不确定。 因此,所有的receivers接收器接收broadcast的顺序不确定。 (2)有序广播通过在intent-filter中设置android:priority属
阅读全文
摘要://千分位分隔符 showThousand:function(num){ if($.isNull(num)==false){ num=String(num); if(/^-?\d+\.?\d+$/.test(num)) { //判断输入内容是否为整数或小数 if (/^-?\d+$/.test(nu
阅读全文