This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vuuvv.vmall.gateway.filter; | |
import cn.hutool.core.util.StrUtil; | |
import com.fasterxml.jackson.core.type.TypeReference; | |
import com.vuuvv.common.constant.ErrorCode; | |
import com.vuuvv.common.model.ApiResponse; | |
import com.vuuvv.common.utils.JwtUtils; | |
import com.vuuvv.jdbcplus.utils.JsonUtils; | |
import com.vuuvv.vmall.user.api.constant.Constants; | |
import com.vuuvv.vmall.user.api.constant.RouteAccess; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.1' encoding='UTF-8'?> | |
<sites> | |
<site> | |
<id>default</id> | |
<url>https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json</url> | |
</site> | |
</sites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# step 1: 安装必要的一些系统工具 | |
sudo apt-get update | |
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common | |
# step 2: 安装GPG证书 | |
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - | |
# Step 3: 写入软件源信息 | |
sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" | |
# Step 4: 更新并安装 Docker-CE | |
sudo apt-get -y update | |
sudo apt-get -y install docker-ce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# step 1: 安装必要的一些系统工具 | |
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 | |
# Step 2: 添加软件源信息 | |
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo | |
# Step 3: 更新并安装 Docker-CE | |
sudo yum makecache fast | |
sudo yum -y install docker-ce | |
# Step 4: 开启Docker服务 | |
sudo service docker start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOF > /etc/yum.repos.d/kubernetes.repo | |
[kubernetes] | |
name=Kubernetes | |
baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64 | |
enabled=1 | |
gpgcheck=1 | |
repo_gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg | |
https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
我这边能成功的按需加载,主要有下面几点你们可以参考一下: | |
代码里面的引用方式使用下面这种 | |
```ts | |
import { Button } from 'antd'; | |
``` | |
tsconfig.json | |
```json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registry=https://registry.npm.taobao.org/ | |
electron_mirror=http://npm.taobao.org/mirrors/electron/ | |
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ | |
phantomjs_cdnurl=http://npm.taobao.org/mirrors/phantomjs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We start by checking if the browser supports the | |
// Clipboard object. If not, we need to create a | |
// contenteditable element that catches all pasted data | |
if (!window.Clipboard) { | |
var pasteCatcher = document.createElement("div"); | |
// Firefox allows images to be pasted into contenteditable elements | |
pasteCatcher.setAttribute("contenteditable", ""); | |
// We can hide the element and append it to the body, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update | |
`t_area` AS a | |
JOIN | |
t_area as p on a.parent_code=p.`code` | |
set a.parent_id=p.id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gradle wrapper --gradle-version 4.4 --gradle-distribution-url http://www.vuuvv.com/java/gradle-4.4-bin.zip |
NewerOlder