No Description

Alex Xu 87d67a00dd update 10 months ago
pages abbaf81dfd update 10 months ago
src 87d67a00dd update 10 months ago
.babelrc abbaf81dfd update 10 months ago
.editorconfig abbaf81dfd update 10 months ago
.env.example abbaf81dfd update 10 months ago
.eslintignore abbaf81dfd update 10 months ago
.eslintrc.js abbaf81dfd update 10 months ago
.gitignore abbaf81dfd update 10 months ago
CHANGELOG.md abbaf81dfd update 10 months ago
README.md abbaf81dfd update 10 months ago
init.sh b5814f3818 update 10 months ago
package.json 7bb78879ae update 10 months ago
test.js abbaf81dfd update 10 months ago
tsconfig.json abbaf81dfd update 10 months ago
yarn.lock abbaf81dfd update 10 months ago

README.md

SATEA VPN INFO MANAGE SYSTEM

环境变量

DEBUG=1 # debug标识
# 数据库信息
DB_HOST=127.0.0.1 
DB_NAME=aklabs-merchant 
DB_USER=root
DB_PASS=

# 服务端口
PORT=8089

# Catalog结构文件目录,在 init.sh 中会创建一个,可以使用那个
CATALOG_FILE_PATH=~/staticData/catalog.json

# 支付系统信息
PAYMENT_SYS_ENDPOINT=http://localhost:8090
PAYMENT_SYS_APIKEY=local

# 其他环境变量
TEST_PK=0x000

初始化Catalog

yarn run script -- lib/scripts/initCatalog.js