兵兵有你

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

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

2020年8月25日

摘要: <?php class Rediss { private static $_instance = null; private function __construct(){ self::$_instance = new \Redis(); $config = [ 'host' => '127.0.0 阅读全文
posted @ 2020-08-25 15:52 greatbing 阅读(322) 评论(0) 推荐(0)

2020年8月8日

摘要: 1. style lang="less" scoped 提示less-loader加载失败 需要安装 npm install --only=dev less-loader 2.如何引入css 在assets里建立文件夹css,建立 global.css, //global.css html,body 阅读全文
posted @ 2020-08-08 10:15 greatbing 阅读(95) 评论(0) 推荐(0)

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 阅读(574) 评论(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 阅读(941) 评论(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 阅读(296) 评论(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 阅读(670) 评论(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 阅读(561) 评论(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 阅读(2025) 评论(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 阅读(1342) 评论(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 阅读(235) 评论(0) 推荐(0)

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