兵兵有你

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

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页

2020年7月17日

摘要: <?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 阅读(568) 评论(0) 推荐(0) 编辑

2020年7月10日

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

2020年7月8日

摘要: 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 阅读(286) 评论(0) 推荐(0) 编辑

2020年5月24日

摘要: 1。首先要安装REDIS和PHP的REDIS扩展。 2.在php.ini中找到session.save_handler将值修改为redis.再在session.save_path里修改保存地址为redis地址:“tpc://127.0.0.1:6379” 3.重启服务即可、 测试 a.php ses 阅读全文
posted @ 2020-05-24 22:45 greatbing 阅读(662) 评论(0) 推荐(0) 编辑

2020年3月1日

摘要: public function abing(Request $request){ if($request->isPost()){ //composer require aliyuncs/oss-sdk-php $file = $request->file('filed'); $accessKeyId 阅读全文
posted @ 2020-03-01 21:30 greatbing 阅读(409) 评论(0) 推荐(0) 编辑

2020年2月27日

摘要: //1.新建立2个路由. Route::get('/buy','index\IndexController@buy')->name('buy'); //要访问的 Route::get('/profit','index\IndexController@profit')->name('profit'); 阅读全文
posted @ 2020-02-27 11:20 greatbing 阅读(1999) 评论(0) 推荐(0) 编辑

2020年2月11日

摘要: onLoad: function (options) { if (options.q) { let queryAll = decodeURIComponent(options.q); let id = gup('id', queryAll); //console.log(queryAll); //c 阅读全文
posted @ 2020-02-11 15:07 greatbing 阅读(1319) 评论(0) 推荐(0) 编辑

2019年12月19日

摘要: 由于props的大小写命名:fatherNum,对应不同的$emit()会有不同的效果,具体如下: 使用.sync修饰符,即 // this.$emit('update:father-num',100); //无效 this.$emit('update:fatherNum',100); //有效 / 阅读全文
posted @ 2019-12-19 14:28 greatbing 阅读(229) 评论(0) 推荐(0) 编辑

2019年12月9日

摘要: 1. 安装 vue-cli3后提示 : Package require os(darwin) not compatible with your platform(win32). 上面是因为安装 npm install -g @vue/cli 的提示环境不符合 解决方案:执行 cnpm rebuild 阅读全文
posted @ 2019-12-09 19:02 greatbing 阅读(289) 评论(0) 推荐(0) 编辑

2019年11月11日

摘要: 1.安装ab压力测试工具: yum install httpd-tools 2.检查AB工具使用方法: ab --help 3.测试: ab -n -请求数量 -c -并发数量 http://自己的域名 阅读全文
posted @ 2019-11-11 11:04 greatbing 阅读(170) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 10 下一页