@@ -0,0 +1,14 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user