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.
14 lines
288 B
14 lines
288 B
|
1 year ago
|
package routers
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
handler "server/modules/backend/handler/warn"
|
||
|
|
)
|
||
|
|
|
||
|
|
func warn(e *gin.Engine) {
|
||
|
|
e.GET("/warn/list", handler.WarnList)
|
||
|
|
e.POST("/warn/add", handler.AddWarn)
|
||
|
|
e.POST("/warn/edit", handler.EditWarn)
|
||
|
|
e.POST("/warn/del", handler.DelWarn)
|
||
|
|
}
|