You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
8 months ago | |
|---|---|---|
| public | 11 months ago | |
| src | 8 months ago | |
| .browserslistrc | 1 year ago | |
| .editorconfig | 1 year ago | |
| .eslintrc.js | 1 year ago | |
| .gitignore | 1 year ago | |
| .postcssrc.js | 1 year ago | |
| LICENSE | 1 year ago | |
| README.md | 1 year ago | |
| babel.config.js | 1 year ago | |
| build.sh | 1 year ago | |
| package-lock.json | 1 year ago | |
| package.json | 11 months ago | |
| vue.config.js | 10 months ago | |
| yarn.lock | 1 year ago | |
README.md
项目启动
node版本
14.x.x
install
npm install
修改服务器链接配置
vue.config.js文件的devServer配置中
run
npm run serve
加密
oauth2加密配置
website.js 配置如下
// 使用后端工程 @org.springblade.test.Sm2KeyGenerator 获取,需和后端配置保持一致
oauth2: {
publicKey: 'xxxxx',
}
报文加密配置
crypto.js 配置如下
// 使用@org.springblade.test.CryptoKeyGenerator获取,需和后端配置保持一致
export default class crypto {
static cryptoKey = 'xxxxx';
static aesKey = 'xxxxx';
static desKey = 'xxxxx';
}