清除业务契约双读:抽奖/草稿/时间戳/邮件只认新格式,并删除 legacy 短代码改写。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -14,9 +14,9 @@ import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
// 兼容旧引用:默认体积/个数(实际限额读 SettingService)
|
||||
// 附件默认体积/个数上限(实际限额读 SettingService;此处供校验与测试引用)
|
||||
const (
|
||||
FileMaxBytes = 20 << 20 // 默认 20 MiB(缺省配置)
|
||||
FileMaxBytes = 20 << 20 // 默认 20 MiB
|
||||
MaxPostAttachments = 10
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user