This commit is contained in:
aaron 2025-03-12 22:52:15 +08:00
parent a52e44705d
commit aece46e0ea
2 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class Settings(BaseSettings):
# 邀请新人赠送优惠券ID
FIRST_ORDER_REFERRAL_COUPON_ID: int = 1
FIRST_ORDER_REFERRAL_COUPON_COUNT: int = 1
FIRST_ORDER_REFERRAL_COUPON_EXPIRE_DAYS: int = 7
FIRST_ORDER_REFERRAL_COUPON_EXPIRE_DAYS: int = 3
# JWT 配置
SECRET_KEY: str = "s10GmiRMmplfYWXYZLSsE3X36Ld4gVZxHgAcdqFGC20v3llv7UdOeWLBEEP3e40p"
@ -168,7 +168,11 @@ class ProdSettings(Settings):
REDIS_PORT: int = 6379
REDIS_DB: int = 0
REDIS_PASSWORD: str = "redis_tjcZif"
VERIFICATION_CODE_EXPIRE_SECONDS: int = 300 # 验证码5分钟后过期
VERIFICATION_CODE_EXPIRE_SECONDS: int = 300
FIRST_ORDER_REFERRAL_COUPON_ID: int = 2
FIRST_ORDER_REFERRAL_COUPON_COUNT: int = 1
FIRST_ORDER_REFERRAL_COUPON_EXPIRE_DAYS: int = 3
class Config:
env_file = ".env.prod"

Binary file not shown.