初始
This commit is contained in:
15
api/attendanceMachine/router.go
Normal file
15
api/attendanceMachine/router.go
Normal file
@ -0,0 +1,15 @@
|
||||
package attendanceMachine
|
||||
|
||||
import "github.com/gogf/gf/v2/net/ghttp"
|
||||
|
||||
type AttendanceMachineApi struct {
|
||||
}
|
||||
|
||||
func InitAttendanceMachineAPI(group *ghttp.RouterGroup) {
|
||||
group.Middleware(ghttp.MiddlewareCORS)
|
||||
group.Group("/", func(group *ghttp.RouterGroup) {
|
||||
group.Group("/api/v1/record", func(group *ghttp.RouterGroup) {
|
||||
group.Bind(new(AttendanceMachineApi))
|
||||
})
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user