Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPublicConfig ¶
GetPublicConfig 获取公共配置 @Tags config @Accept json @Produce json @Success 200 {object} util.ResponseAny @Router /api/v1/config/public [get]
Types ¶
type PublicConfigResponse ¶
type PublicConfigResponse struct {
DisputeTimeWindowHours int `json:"dispute_time_window_hours"` // 争议时间窗口(小时)
RedEnvelopeEnabled bool `json:"red_envelope_enabled"` // 红包功能是否启用
RedEnvelopeMaxAmount decimal.Decimal `json:"red_envelope_max_amount"` // 单个红包的最大积分上限
RedEnvelopeDailyLimit int `json:"red_envelope_daily_limit"` // 每日发红包的个数限制
RedEnvelopeFeeRate decimal.Decimal `json:"red_envelope_fee_rate"` // 红包手续费率
RedEnvelopeMaxRecipients int `json:"red_envelope_max_recipients"` // 每个红包的最大可领取人数上限
}
PublicConfigResponse 公共配置响应
Click to show internal directories.
Click to hide internal directories.