兵兵有你

人品好,气质差.丢了工作就回家...

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

07 2020 档案

摘要:<?php /** * api 接口限流 * */ class api { public function get_client_ip($type = 0) { $type = $type ? 1 : 0; static $ip = NULL; if ($ip !== NULL) return $i 阅读全文
posted @ 2020-07-17 17:45 greatbing 阅读(577) 评论(0) 推荐(0)

摘要:生产中碰到上面这么个问题; 临时解决方法: 直接在 /etc/hosts里增加这个网址的IP和域名. 但问题是DNS问题,其它地址也可能出问题,所以长期解决方法: [root@opvnserver ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 T 阅读全文
posted @ 2020-07-10 11:20 greatbing 阅读(942) 评论(0) 推荐(0)

摘要:1.为方便安装,先安装cnpm; npm install -g cnpm --registry=https://registry.npm.taobao.orgcnpm -v可查看版本2.安装webpack3.0.因为最新4.0的需要node14版本以上,而win7并不支持.cnpm install 阅读全文
posted @ 2020-07-08 12:00 greatbing 阅读(296) 评论(0) 推荐(0)