11
This commit is contained in:
@@ -61,6 +61,7 @@ const (
|
||||
UpdateUserTypeAdd = 1
|
||||
UpdateUserTypeDelete = 2
|
||||
UpdateUserTypeUpdate = 3
|
||||
WeCartAppID = "wx4b5930c13f8b1170"
|
||||
)
|
||||
|
||||
type IUserProvider interface {
|
||||
@@ -296,6 +297,9 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
|
||||
} else {
|
||||
authInfo.IsExistOpenID = true
|
||||
}
|
||||
if WeCartAppID == appID {
|
||||
authInfo.AppID = WeCartAppID
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user