- mini program login
This commit is contained in:
@@ -82,6 +82,10 @@ func (ctx *Context) GetUserID() string {
|
||||
return ctx.token
|
||||
}
|
||||
|
||||
func (ctx *Context) GetLoginInfo() *auth.LoginInfo {
|
||||
return ctx.userInfo
|
||||
}
|
||||
|
||||
func (ctx *Context) GetRootTask() tasksch.ITask {
|
||||
ctx.locker.RLock()
|
||||
defer ctx.locker.RUnlock()
|
||||
|
||||
Reference in New Issue
Block a user