composer config repo.packagist composer https://mirrors.aliyun.com/composer/
composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/
composer config repo.packagist composer https://mirrors.aliyun.com/composer/
composer config -g --unset repos.packagist
这里有一个可用的腾讯云镜像 https://mirrors.cloud.tencent.com/composer...
腾讯云服务器可以走内网 https://mirrors.tencentyun.com/composer/
将npm的仓库地址改为淘宝镜像
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
redirect()->intended 可以跳转网址
request()->isMethod('post')
$grid->model()->where('id', '>', 100);