Files
points-mall/supplied-service/.env.example
T

21 lines
707 B
Bash

# MySQL connection string for Koa runtime and Prisma CLI.
DATABASE_URL="mysql://supper:Supper%40123456@localhost:10086/supplier_db"
PRISMA_CLIENT_ENGINE_TYPE="binary"
# Optional app settings.
JWT_SECRET="replace-me"
UPLOAD_TOKEN="replace-me"
# Main points mall bridge API, for example http://localhost/open.
POINTS_MALL_OPEN_API_BASE="http://localhost/open"
# Supplier open API crypto keys used by /supplierOpenApi/pointOrder/queryOrderInfo.
SUPPLIER_OPEN_SM4_KEY_HEX="00112233445566778899aabbccddeeff"
SUPPLIER_OPEN_SM4_IV_HEX="0102030405060708090a0b0c0d0e0f10"
# Redis token cache. Redis DB 9 is used for platform bridge tokens.
REDIS_HOST="127.0.0.1"
REDIS_PORT="6379"
REDIS_PASSWORD=""
REDIS_DB="9"