1234567891011121314151617181920 |
- package model
- import "github.com/gogf/gf/v2/net/ghttp"
- type (
- User struct {
- MgoUserId string //mgo库user表_id
- PersonId int64 //base_person表id,自然人id
- UserId string //base_user表id,用户id
- PositionId int64 //base_position表id,职位id
- AccountId int64 //base_account表id,账户id
- BaseUserId int64 `json:"base_user_id" doc:"部门id"`
- DeptId int64 `json:"deptId" doc:"部门id"`
- }
- Context struct {
- Request *ghttp.Request // 一般情况下不需要使用此参数
- Session *ghttp.Session // Session in context.
- User *User // User in context.
- }
- )
|