- pending store op price change request.
This commit is contained in:
@@ -71,6 +71,13 @@ func (ctx *Context) GetUserName() string {
|
||||
return userName
|
||||
}
|
||||
|
||||
func (ctx *Context) GetLoginType() string {
|
||||
if ctx.userInfo != nil {
|
||||
return ctx.userInfo.LoginType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (ctx *Context) GetUserID() string {
|
||||
return ctx.token
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user