feat:完善项目
This commit is contained in:
@ -1 +1,14 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"ArmedPolice/app/controller/user"
|
||||
"ArmedPolice/app/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type User struct{}
|
||||
|
||||
func (*User) Info(c *gin.Context) {
|
||||
data := user.NewInstance()(getSession()(c).(*service.Session)).Info()
|
||||
APIResponse(nil, data)
|
||||
}
|
||||
|
Reference in New Issue
Block a user