office

package
v0.0.0-...-4702bed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentOneWorkMoment

func CommentOneWorkMoment(c *gin.Context)

@Summary 评论一条工作圈 @Description 评论一条工作圈 @Tags 工作圈 @ID CommentOneWorkMoment @Accept json @Param token header string true "im token" @Param req body api.CommentOneWorkMomentReq true "请求" @Produce json @Success 0 {object} api.CommentOneWorkMomentResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/comment_one_work_moment [post]

func CreateOneWorkMoment

func CreateOneWorkMoment(c *gin.Context)

@Summary 创建一条工作圈 @Description 用户创建一条工作圈 @Tags 工作圈 @ID CreateOneWorkMoment @Accept json @Param token header string true "im token" @Param req body api.CreateOneWorkMomentReq true "请求 atUserList likeUserList permissionGroupList permissionUserList 字段中userName可以不填" @Produce json @Success 0 {object} api.CreateOneWorkMomentResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/create_one_work_moment [post]

func CreateTag

func CreateTag(c *gin.Context)

@Summary 创建标签 @Description 创建标签 @Tags 标签 @ID CreateTag @Accept json @Param token header string true "im token" @Param req body api.CreateTagReq true "请求" @Produce json @Success 0 {object} api.CreateTagResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/create_tag [post]

func DeleteComment

func DeleteComment(c *gin.Context)

@Summary 删除一条评论 @Description 删除一条评论 @Tags 工作圈 @ID DeleteComment @Accept json @Param token header string true "im token" @Param req body api.DeleteCommentReq true "请求" @Produce json @Success 0 {object} api.DeleteCommentResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/delete_comment [post]

func DeleteOneWorkMoment

func DeleteOneWorkMoment(c *gin.Context)

@Summary 删除一条工作圈 @Description 根据用户工作圈ID删除一条工作圈 @Tags 工作圈 @ID DeleteOneWorkMoment @Accept json @Param token header string true "im token" @Param req body api.DeleteOneWorkMomentReq true "请求" @Produce json @Success 0 {object} api.DeleteOneWorkMomentResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/delete_one_work_moment [post]

func DeleteTag

func DeleteTag(c *gin.Context)

@Summary 删除标签 @Description 根据标签ID创建标签 @Tags 标签 @ID DeleteTag @Accept json @Param token header string true "im token" @Param req body api.DeleteTagReq true "请求" @Produce json @Success 0 {object} api.DeleteTagResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/delete_tag [post]

func GetTagSendLogs

func GetTagSendLogs(c *gin.Context)

@Summary 获取发送历史记录 @Description 分页获取发送历史记录 @Tags 标签 @ID GetTagSendLogs @Accept json @Param token header string true "im token" @Param req body api.GetTagSendLogsReq true "请求" @Produce json @Success 0 {object} api.GetTagSendLogsResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/get_send_tag_log [post]

func GetUserFriendWorkMoments

func GetUserFriendWorkMoments(c *gin.Context)

@Summary 查询自己大工作圈页面 @Description 查询用户工作圈页面 @Tags 工作圈 @ID GetUserFriendWorkMoments @Accept json @Param token header string true "im token" @Param req body api.GetUserFriendWorkMomentsReq true "请求" @Produce json @Success 0 {object} api.GetUserFriendWorkMomentsResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/get_user_friend_work_moments [post]

func GetUserTagByID

func GetUserTagByID(c *gin.Context)

@Summary 获取该用户的标签信息 @Description 通过标签id获取该用户的标签信息 @Tags 标签 @ID GetUserTagByID @Accept json @Param token header string true "im token" @Param req body api.GetUserTagByIDReq true "请求" @Produce json @Success 0 {object} api.GetUserTagByIDResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/get_user_tag_by_id [post]

func GetUserTags

func GetUserTags(c *gin.Context)

@Summary 获取用户标签信息 @Description 用户获取自己的所有的标签 @Tags 标签 @ID GetUserTags @Accept json @Param token header string true "im token" @Param req body api.GetUserTagsReq true "请求" @Produce json @Success 0 {object} api.GetUserTagsResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/get_user_tags [post]

func GetUserWorkMoments

func GetUserWorkMoments(c *gin.Context)

@Summary 查询用户工作圈 @Description 查询用户工作圈 @Tags 工作圈 @ID GetUserWorkMoments @Accept json @Param token header string true "im token" @Param req body api.GetUserWorkMomentsReq true "请求" @Produce json @Success 0 {object} api.GetUserWorkMomentsResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/get_user_work_moments [post]

func GetWorkMomentByID

func GetWorkMomentByID(c *gin.Context)

@Summary 通过ID获取工作圈 @Description 通过ID获取工作圈 @Tags 工作圈 @ID GetWorkMomentByID @Accept json @Param token header string true "im token" @Param req body api.GetWorkMomentByIDReq true "请求" @Produce json @Success 0 {object} api.GetWorkMomentByIDResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/get_work_moment_by_id [post]

func LikeOneWorkMoment

func LikeOneWorkMoment(c *gin.Context)

@Summary 点赞一条工作圈 @Description 工作圈ID点赞一条工作圈 @Tags 工作圈 @ID LikeOneWorkMoment @Accept json @Param token header string true "im token" @Param req body api.LikeOneWorkMomentReq true "请求" @Produce json @Success 0 {object} api.LikeOneWorkMomentResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/like_one_work_moment [post]

func SendMsg2Tag

func SendMsg2Tag(c *gin.Context)

@Summary 发送标签消息 @Description 对标签用户发送消息 @Tags 标签 @ID SendMsg2Tag @Accept json @Param token header string true "im token" @Param req body api.SendMsg2TagReq true "请求" @Produce json @Success 0 {object} api.SendMsg2TagResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/send_msg_to_tag [post]

func SetTag

func SetTag(c *gin.Context)

@Summary 修改标签 @Description 根据标签ID修改标签用户列表, 名称 @Tags 标签 @ID SetTag @Accept json @Param token header string true "im token" @Param req body api.SetTagReq true "请求" @Produce json @Success 0 {object} api.SetTagResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /office/set_tag [post]

func SetUserWorkMomentsLevel

func SetUserWorkMomentsLevel(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL