feat : check

This commit is contained in:
2025-04-02 10:00:54 +08:00
parent e39d7a724b
commit 4276021041
3 changed files with 16 additions and 8 deletions

View File

@@ -32,6 +32,12 @@ class ConfigCode
const string INVITED_PARTY_COUPON = 'InvitedPartyCoupon'; // 被邀请方优惠券 被邀请一个人所送的优惠券
const string INVITEE_COUPON_VALIDITY = 'InviteeCouponValidity'; // 被邀请方优惠券有效期ps:从领取时间开始的第 x 天)
/**
* @var string PointsConfiguration|积分配置
*/
const string CONSUMPTION_RATIO = 'ConsumptionRatio'; // 消费金额转化的积分比例 1元 = x积分 (向下取整)
const array DEFAULT_VALUE = [
//BasicConfiguration
self::TODAY_CUT_OFF_TIME_KEY => '10:30:00',
@@ -54,5 +60,7 @@ class ConfigCode
self::INVITING_PARTY_COUPON_VALIDITY => '0',
self::INVITED_PARTY_COUPON => '0',
self::INVITEE_COUPON_VALIDITY => '0',
//PointsConfiguration
self::CONSUMPTION_RATIO => '0',
];
}