初始化项目文件
This commit is contained in:
14
api_iris/service/api/yebExport.go
Normal file
14
api_iris/service/api/yebExport.go
Normal file
@ -0,0 +1,14 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/v12"
|
||||
"main/jwtSet"
|
||||
)
|
||||
|
||||
func Yeb(party iris.Party) {
|
||||
party.Get("/", jwtSet.Jwt.Serve, getYeb)
|
||||
party.Post("/", jwtSet.Jwt.Serve, addYeb)
|
||||
party.Put("/", jwtSet.Jwt.Serve, updateYeb)
|
||||
party.Delete("/", jwtSet.Jwt.Serve, deleteYeb)
|
||||
party.Post("/sz", jwtSet.Jwt.Serve, szYeb)
|
||||
}
|
Reference in New Issue
Block a user