会员统计
This commit is contained in:
@@ -243,7 +243,6 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
|
|||||||
realAuthID = user.GetID()
|
realAuthID = user.GetID()
|
||||||
}
|
}
|
||||||
if authBindEx, err = handler.VerifySecret(realAuthID, authSecret); err == nil {
|
if authBindEx, err = handler.VerifySecret(realAuthID, authSecret); err == nil {
|
||||||
globals.SugarLogger.Debugf("testttttttttttttttttttttttttttttttttttt", utils.Format4Output(authBindEx, false))
|
|
||||||
if authBindEx == nil { // mobile, email会返回nil(表示不会新建AuthBind实体)
|
if authBindEx == nil { // mobile, email会返回nil(表示不会新建AuthBind实体)
|
||||||
user = userProvider.GetUser(authID, authIDType)
|
user = userProvider.GetUser(authID, authIDType)
|
||||||
authBindEx = &AuthBindEx{
|
authBindEx = &AuthBindEx{
|
||||||
|
|||||||
@@ -48,6 +48,9 @@ func GetJxShopUsers(ctx *jxcontext.Context, keyword string, offset, pageSize int
|
|||||||
sql += "LIMIT ? OFFSET ?"
|
sql += "LIMIT ? OFFSET ?"
|
||||||
pageSize = jxutils.FormalizePageSize(pageSize)
|
pageSize = jxutils.FormalizePageSize(pageSize)
|
||||||
sqlParams = append(sqlParams, pageSize, offset)
|
sqlParams = append(sqlParams, pageSize, offset)
|
||||||
|
// for _, v := range requestList {
|
||||||
|
|
||||||
|
// }
|
||||||
dao.Begin(db)
|
dao.Begin(db)
|
||||||
defer dao.Commit(db)
|
defer dao.Commit(db)
|
||||||
if err = dao.GetRows(db, &requestList, sql, sqlParams...); err == nil {
|
if err = dao.GetRows(db, &requestList, sql, sqlParams...); err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user