parent
1619d876c5
commit
cc9ae1d064
@ -0,0 +1,16 @@
|
|||||||
|
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,
|
||||||
|
})
|
||||||
|
}
|
Loading…
Reference in new issue