|
|
@ -28,7 +28,7 @@ func UserRegister(c *gin.Context) {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
req := &rpc.UserRegisterReq{UserInfo: &open_im_sdk.UserInfo{}}
|
|
|
|
req := &rpc.UserRegisterReq{UserInfo: &open_im_sdk.UserInfo{}}
|
|
|
|
utils.CopyStructFields(*req.UserInfo, params)
|
|
|
|
utils.CopyStructFields(req.UserInfo, ¶ms)
|
|
|
|
//copier.Copy(req.UserInfo, ¶ms)
|
|
|
|
//copier.Copy(req.UserInfo, ¶ms)
|
|
|
|
req.OperationID = params.OperationID
|
|
|
|
req.OperationID = params.OperationID
|
|
|
|
log.NewInfo(req.OperationID, "UserRegister args ", req.String())
|
|
|
|
log.NewInfo(req.OperationID, "UserRegister args ", req.String())
|
|
|
|