两个小程序要绑定在一个微信公众平台!!! //A小程序 <!--index.wxml--> <view class="container"> //方法1 <!-- <navigator target="miniProgram" open-type="navigate" app-id="{{BappI ...
分类:
微信 时间:
2020-06-16 18:08:50
阅读次数:
229
Date now=new Date(); //yyyy年MM月dd日 HH时mm分ss秒 HH为24小时 hh为12小时 //yy/MM/dd HH:mm //yyyy-MM-dd HH:mm:ss == now.toLocaleString(); 格式可以自由组合,不受年月日 : 时分限制等限制 ...
分类:
其他好文 时间:
2020-06-15 19:26:46
阅读次数:
70
可以根据解析的结果得出token还有多久过期 package util; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jws; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.Si ...
分类:
其他好文 时间:
2020-06-14 16:41:32
阅读次数:
577
是的,Spring Boot 2.3 刚发布不久,Spring Boot 2.3.1 又来了,又加了很多新功能啊,一起来瞧瞧。 下面是官宣: https://spring.io/blog/2020/06/12/spring-boot-2-3-1-available-now 栈长解读: Spring ...
分类:
编程语言 时间:
2020-06-13 19:13:14
阅读次数:
82
descption We have a sorted set of digits D, a non-empty subset of {'1','2','3','4','5','6','7','8','9'}. (Note that '0' is not included.) Now, we writ ...
分类:
其他好文 时间:
2020-06-13 17:10:49
阅读次数:
64
加个\G在最后现就可以了. mysql> show variables like '%max_connections%' \G;*************************** 1. row ***************************Variable_name: max_conne ...
分类:
数据库 时间:
2020-06-13 15:50:58
阅读次数:
158
42.统计APP应用的DB连接及IP情况 select b.hostname ,a.client_net_address, b.program_name ,count(1) as Qtyfrom sys.dm_exec_connections a(nolock) inner join sys.sys ...
分类:
数据库 时间:
2020-06-13 10:55:12
阅读次数:
75
监控mysql表中数据,如果没有当天的数据就用zabbix报警 mysql表用有时间列,需要使用时间函数做判断 1.当前日期函数 mysql> SELECT NOW(); + + | NOW() | + + | 2020-06-12 10:07:07 | + + 1 row in set (0.00 ...
分类:
数据库 时间:
2020-06-12 10:40:23
阅读次数:
89
--日期转时间戳 SELECT EXTRACT(epoch FROM NOW()); SELECT EXTRACT(epoch FROM CAST('2017-12-06 00:17:10' AS TIMESTAMP)); --时间戳转日期 SELECT TO_TIMESTAMP(151249063 ...
分类:
数据库 时间:
2020-06-11 21:24:05
阅读次数:
177
Docker Desktop WSL 2 backend | Docker Documentation https://docs.docker.com/docker-for-windows/wsl/ WSL 2 is now available in Windows Insiders | Windo ...
分类:
其他好文 时间:
2020-06-11 20:10:06
阅读次数:
106