|
|
@ -11,6 +11,6 @@ type Switch struct {
|
|
|
|
// Switch @Title 开关
|
|
|
|
// Switch @Title 开关
|
|
|
|
func (s *Switch) Switch(c *gin.Context) {
|
|
|
|
func (s *Switch) Switch(c *gin.Context) {
|
|
|
|
back.Suc(c, "操作成功", map[string]interface{}{
|
|
|
|
back.Suc(c, "操作成功", map[string]interface{}{
|
|
|
|
"condole": 1,
|
|
|
|
"condole": 0,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|