This commit is contained in:
邹宗楠
2022-03-30 10:12:16 +08:00
parent 98835938e2
commit 8a52877e97
5 changed files with 15 additions and 2 deletions

View File

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