You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package app
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"recook/internal/v2/lib/back"
|
|
)
|
|
|
|
type Switch struct {
|
|
}
|
|
|
|
// Switch @Title 开关
|
|
func (s *Switch) Switch(c *gin.Context) {
|
|
back.Suc(c, "操作成功", map[string]interface{}{
|
|
"condole": 1,
|
|
})
|
|
}
|