上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 198 下一页
摘要: $router->get('/', function () use ($router) { return config('options.author'); }); $router->get('/user/{user_id}', function($user_id) { return $user_i 阅读全文
posted @ 2020-04-16 16:02 brady-wang 阅读(567) 评论(0) 推荐(0)
摘要: app同级目录新建config目录 添加配置文件 bootstrap/app.php里面加载 $app->configure('options');使用 $router->get('/', function () use ($router) { return config('options.auth 阅读全文
posted @ 2020-04-16 15:54 brady-wang 阅读(508) 评论(0) 推荐(0)
摘要: wget https://github.com/swoole/swoole-src/archive/v4.4.17.tar.gz tar -zxvf v4.4.17.tar.gz cd swoole-src-4.4.17/ phpize ./configure --with-php-config=/ 阅读全文
posted @ 2020-04-16 15:48 brady-wang 阅读(232) 评论(0) 推荐(0)
摘要: location / { try_files $uri $uri/ /index.php?$query_string;} 阅读全文
posted @ 2020-04-16 15:37 brady-wang 阅读(443) 评论(0) 推荐(0)
摘要: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer 阅读全文
posted @ 2020-04-16 15:30 brady-wang 阅读(443) 评论(0) 推荐(0)
摘要: // 生成签名private function makeSignature($params){ foreach ($params as $key=>$value){ $arr[$key] = $key; } sort($arr); //字典排序的作用就是防止因为参数顺序不一致而导致下面拼接加密不同 阅读全文
posted @ 2020-04-16 09:54 brady-wang 阅读(931) 评论(0) 推荐(0)
摘要: 笔者在使用linux时(虚拟机),经常会发现使用一段时间后,linux时间和我的宿主机(真实机)的时间不一致,而宿主机的时间确实是internet时间,安装linux时选择的时区也是Asia/Shanghai,那么今天我分享的即为如何让linux时间与internet时间同步 在解决问题之前,我们首 阅读全文
posted @ 2020-04-15 17:21 brady-wang 阅读(396) 评论(0) 推荐(0)
摘要: "repositories": { "packagist": { "type": "composer", "url": "https://mirrors.aliyun.com/composer/" }}composer config -g repo.packagist composer https: 阅读全文
posted @ 2020-04-15 12:00 brady-wang 阅读(269) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-04-15 11:09 brady-wang 阅读(0) 评论(0) 推荐(0)
摘要: laravel中faker的方法总结 展开 laravel faker用法总结 安装 composer require fzaninotto/faker 一、基础方法: 随机数:randomDigit // 7 不为空随机数:randomDigitNotNull // 5 随机数:randomNum 阅读全文
posted @ 2020-04-11 16:14 brady-wang 阅读(562) 评论(0) 推荐(0)
上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 198 下一页