pull/351/head
wangchuxiao 2 years ago
parent 43f7ecc75a
commit a92c0ffac3

@ -153,20 +153,20 @@ 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,
UserID: userID, // UserID: userID,
NickName: params.Nickname, // NickName: params.Nickname,
FaceURL: params.FaceURL, // FaceURL: params.FaceURL,
PhoneNumber: params.AreaCode + params.PhoneNumber, // PhoneNumber: params.AreaCode + params.PhoneNumber,
Email: params.Email, // Email: params.Email,
}: // }:
case <-time.After(time.Second * 2): // case <-time.After(time.Second * 2):
log.NewWarn(params.OperationID, utils.GetSelfFuncName(), "to ch timeOut") // log.NewWarn(params.OperationID, utils.GetSelfFuncName(), "to ch timeOut")
} // }
} // }
select { select {
case ChImportFriend <- &pbFriend.ImportFriendReq{ case ChImportFriend <- &pbFriend.ImportFriendReq{

Loading…
Cancel
Save