ws send msg modify

This commit is contained in:
Gordon 2022-01-18 18:39:27 +08:00
parent 896a69086b
commit b6380a17ce
2 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,6 @@ func UserToken(c *gin.Context) {
c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": err.Error()})
return
}
resp := api.UserTokenResp{CommResp: api.CommResp{ErrCode: reply.CommonResp.ErrCode, ErrMsg: reply.CommonResp.ErrMsg},
UserToken: api.UserTokenInfo{UserID: req.FromUserID, Token: reply.Token, ExpiredTime: reply.ExpiredTime}}
log.NewInfo(req.OperationID, "UserRegister return ", resp)

View File

@ -48,6 +48,10 @@ type InviteUserToGroupResp struct {
UserIDResultList []*UserIDResult `json:"data"`
}
//type GetJoinedGroupListReq struct {
// OperationID string `json:"operationID" binding:"required"`
// FromUserID string `json:"fromUserID" binding:"required"`
//}
type GetJoinedGroupListReq struct {
OperationID string `json:"operationID" binding:"required"`
FromUserID string `json:"fromUserID" binding:"required"`