update
This commit is contained in:
parent
a52e44705d
commit
aece46e0ea
@ -29,7 +29,7 @@ class Settings(BaseSettings):
|
|||||||
# 邀请新人赠送优惠券ID
|
# 邀请新人赠送优惠券ID
|
||||||
FIRST_ORDER_REFERRAL_COUPON_ID: int = 1
|
FIRST_ORDER_REFERRAL_COUPON_ID: int = 1
|
||||||
FIRST_ORDER_REFERRAL_COUPON_COUNT: 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 配置
|
# JWT 配置
|
||||||
SECRET_KEY: str = "s10GmiRMmplfYWXYZLSsE3X36Ld4gVZxHgAcdqFGC20v3llv7UdOeWLBEEP3e40p"
|
SECRET_KEY: str = "s10GmiRMmplfYWXYZLSsE3X36Ld4gVZxHgAcdqFGC20v3llv7UdOeWLBEEP3e40p"
|
||||||
@ -168,7 +168,11 @@ class ProdSettings(Settings):
|
|||||||
REDIS_PORT: int = 6379
|
REDIS_PORT: int = 6379
|
||||||
REDIS_DB: int = 0
|
REDIS_DB: int = 0
|
||||||
REDIS_PASSWORD: str = "redis_tjcZif"
|
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:
|
class Config:
|
||||||
env_file = ".env.prod"
|
env_file = ".env.prod"
|
||||||
|
|||||||
BIN
jobs.sqlite
BIN
jobs.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user