加密:接口加密解密

This commit is contained in:
luying
2022-06-16 19:14:05 +08:00
parent 144f3ed0b0
commit 469e393f5e
18 changed files with 833 additions and 162 deletions

View File

@@ -4,7 +4,7 @@
"private": false,
"main": "./dist/app",
"scripts": {
"build": "tsc",
"build": "tsc && cp ./app/resource/privateKey ./dist/app/resource/privateKey && cp ./app/resource/publicKey ./dist/app/resource/publicKey ",
"start": "yarn run build && cd dist && node app",
"dev": "node tsrun.js",
"test": "./node_modules/mocha/bin/mocha -t 5000 -r ts-node/register ./test/*test.ts",