mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
fix bug
This commit is contained in:
parent
fad61a0a2a
commit
d598ec1852
@ -16,10 +16,11 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/golang/protobuf/proto"
|
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OnboardingProcessReq struct {
|
type OnboardingProcessReq struct {
|
||||||
@ -75,6 +76,7 @@ func onboardingProcess(operationID, userID, userName, faceURL, phoneNumber, emai
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError(operationID, utils.GetSelfFuncName(), err.Error())
|
log.NewError(operationID, utils.GetSelfFuncName(), err.Error())
|
||||||
}
|
}
|
||||||
|
log.Debug(operationID, utils.GetSelfFuncName(), "getjoinGroupIDListdepartmentID", groupIDList)
|
||||||
joinGroups(operationID, userID, userName, faceURL, groupIDList)
|
joinGroups(operationID, userID, userName, faceURL, groupIDList)
|
||||||
log.NewInfo(operationID, utils.GetSelfFuncName(), "fineshed")
|
log.NewInfo(operationID, utils.GetSelfFuncName(), "fineshed")
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,7 @@ func SetPassword(c *gin.Context) {
|
|||||||
|
|
||||||
log.Info(params.OperationID, "end setPassword", account, params.Password)
|
log.Info(params.OperationID, "end setPassword", account, params.Password)
|
||||||
// demo onboarding
|
// demo onboarding
|
||||||
if params.UserID == "" && config.Config.Demo.OnboardProcess {
|
if params.UserID == "" || config.Config.Demo.OnboardProcess {
|
||||||
select {
|
select {
|
||||||
case Ch <- OnboardingProcessReq{
|
case Ch <- OnboardingProcessReq{
|
||||||
OperationID: params.OperationID,
|
OperationID: params.OperationID,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user