摘要:
$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
阅读(568)
评论(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
阅读(511)
评论(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
阅读(234)
评论(0)
推荐(0)
摘要:
location / { try_files $uri $uri/ /index.php?$query_string;} 阅读全文
posted @ 2020-04-16 15:37
brady-wang
阅读(446)
评论(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
阅读(934)
评论(0)
推荐(0)

浙公网安备 33010602011771号