feat : config

This commit is contained in:
2025-03-20 09:43:16 +08:00
parent 22fef86d76
commit 40f205fcda
4 changed files with 89 additions and 2 deletions

View File

@@ -14,6 +14,12 @@ class ConfigCode
const string NUMBER_OF_USER_ADDRESS_POOLS = 'NumberOfUserAddressPools'; // 用户可以设置的送达地址的数量
const string MAXIMUM_VALUE_IN_FULL_BOX = 'MaximumValueInFullBox'; //运输箱最大可装自选盒数
const string MAXIMUM_WHOLE_CASE_SPLIT = 'MaximumWholeCaseSplit'; //运输箱分割列数最大值
const string ABOUT_US_SYNOPSIS = 'AboutUsSynopsis'; // 关于我们 - 简介
const string BUSINESS_LICENSE = 'BusinessLicense'; // 营业执照
const string USER_AGREEMENT = 'UserAgreement'; // 用户使用协议
const string USER_PRIVACY_AGREEMENT = 'UserPrivacyAgreement'; // 用户隐私协议
const string APP_LOGO = 'AppLogo'; // app 图标
/**
* @var string CouponConfiguration|优惠券配置
@@ -34,6 +40,11 @@ class ConfigCode
self::NUMBER_OF_USER_ADDRESS_POOLS => 10,
self::MAXIMUM_VALUE_IN_FULL_BOX => 32,
self::MAXIMUM_WHOLE_CASE_SPLIT => 4,
self::ABOUT_US_SYNOPSIS => '关于我们-xxxx',
self::BUSINESS_LICENSE => 'https://www.baidu.com',
self::USER_AGREEMENT => 'https://www.baidu.com',
self::USER_PRIVACY_AGREEMENT => 'https://www.baidu.com',
self::APP_LOGO => 'https://www.baidu.com',
//CouponConfiguration
self::COUPONS_FOR_NEWCOMERS => '0',
self::NEWBIE_COUPON_VALIDITY => '0',