mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-07 10:35:59 +08:00
base64 userID
This commit is contained in:
committed by
Xinwei Xiong(cubxxw-openim)
parent
05e378fe37
commit
2f62db66cb
@@ -204,6 +204,7 @@ func oaNotification(operationID, userID string) {
|
||||
}
|
||||
bytes, err := json.Marshal(elem)
|
||||
if err != nil {
|
||||
log.NewError(operationID, utils.GetSelfFuncName(), "elem: ", elem, err.Error())
|
||||
return
|
||||
}
|
||||
sysNotification := &msg.NotificationMsg{
|
||||
|
||||
@@ -52,7 +52,7 @@ func SetPassword(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
}
|
||||
userID := utils.Md5(account)
|
||||
userID := utils.Base64Encode(account)
|
||||
url := config.Config.Demo.ImAPIURL + "/auth/user_register"
|
||||
openIMRegisterReq := api.UserRegisterReq{}
|
||||
openIMRegisterReq.OperationID = params.OperationID
|
||||
|
||||
Reference in New Issue
Block a user