feat:完善项目

This commit is contained in:
henry
2021-11-04 11:10:51 +08:00
parent 6ef32d16fc
commit 0234324e60
13 changed files with 374 additions and 40 deletions

View File

@ -0,0 +1,28 @@
package role
import (
"ArmedPolice/app/controller/basic"
"ArmedPolice/app/service"
)
type Auth struct{ *service.Session }
type AuthHandle func(session *service.Session) *Auth
func (c *Auth) List() (*basic.PageDataResponse, error) {
return &basic.PageDataResponse{Data: nil, Count: 0}, nil
}
func (c *Auth) Form() error {
return nil
}
func (c *Auth) Delete() error {
return nil
}
func NewAuth() AuthHandle {
return func(session *service.Session) *Auth {
return &Auth{session}
}
}