04 2021 档案

nginx 实现防盗链
摘要:# location /images/ { location ~* .*\.(gif|jpg|png)$ { valid_referers none blocked 80boy.com *.80boy.com; if ($invalid_referer) { return 403; # rewrit 阅读全文

posted @ 2021-04-30 22:25 80boy 阅读(90) 评论(0) 推荐(0)

在聚合函数COUNT和SUM里面调用IF函数
摘要:count(if(表达式, true, null)) sum(if(表达式, 字段名称, 0)) 阅读全文

posted @ 2021-04-29 16:19 80boy 阅读(300) 评论(0) 推荐(0)

导航