Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

15 lines
485 B
Go

package commod
import "91porn-server/common/constant"
type ButtonProp struct {
Style constant.SwitchStyle `form:"style" json:"style" bson:"style"` //开关样式
Enable bool `form:"enable" json:"enable" bson:"enable"` //true:显示按钮
}
type LdyButton struct {
Name string `form:"name" json:"name" bson:"name"` //开关名
Type constant.SwitchAct `form:"type" json:"type" bson:"type"` //开关类型
ButtonProp `bson:",inline"`
}