- pending store op price change request.

This commit is contained in:
gazebo
2018-12-20 15:51:11 +08:00
parent 55f2445eb4
commit 5119791de2
12 changed files with 367 additions and 2 deletions

View File

@@ -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
}