Documentation ¶
Index ¶
- type InviteCodeApi
- func (inviteCodeApi *InviteCodeApi) CreateInviteCode(c *gin.Context)
- func (inviteCodeApi *InviteCodeApi) DeleteInviteCode(c *gin.Context)
- func (inviteCodeApi *InviteCodeApi) DeleteInviteCodeByIds(c *gin.Context)
- func (inviteCodeApi *InviteCodeApi) FindInviteCode(c *gin.Context)
- func (inviteCodeApi *InviteCodeApi) GetInviteCodeList(c *gin.Context)
- func (inviteCodeApi *InviteCodeApi) UpdateInviteCode(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InviteCodeApi ¶
type InviteCodeApi struct { }
func (*InviteCodeApi) CreateInviteCode ¶
func (inviteCodeApi *InviteCodeApi) CreateInviteCode(c *gin.Context)
CreateInviteCode 创建邀请码 @Tags InviteCode @Summary 创建邀请码 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body util.InviteCode true "创建邀请码" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /inviteCode/createInviteCode [post]
func (*InviteCodeApi) DeleteInviteCode ¶
func (inviteCodeApi *InviteCodeApi) DeleteInviteCode(c *gin.Context)
DeleteInviteCode 删除邀请码 @Tags InviteCode @Summary 删除邀请码 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body util.InviteCode true "删除邀请码" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /inviteCode/deleteInviteCode [delete]
func (*InviteCodeApi) DeleteInviteCodeByIds ¶
func (inviteCodeApi *InviteCodeApi) DeleteInviteCodeByIds(c *gin.Context)
DeleteInviteCodeByIds 批量删除邀请码 @Tags InviteCode @Summary 批量删除邀请码 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /inviteCode/deleteInviteCodeByIds [delete]
func (*InviteCodeApi) FindInviteCode ¶
func (inviteCodeApi *InviteCodeApi) FindInviteCode(c *gin.Context)
FindInviteCode 用id查询邀请码 @Tags InviteCode @Summary 用id查询邀请码 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query util.InviteCode true "用id查询邀请码" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /inviteCode/findInviteCode [get]
func (*InviteCodeApi) GetInviteCodeList ¶
func (inviteCodeApi *InviteCodeApi) GetInviteCodeList(c *gin.Context)
GetInviteCodeList 分页获取邀请码列表 @Tags InviteCode @Summary 分页获取邀请码列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query utilReq.InviteCodeSearch true "分页获取邀请码列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /inviteCode/getInviteCodeList [get]
func (*InviteCodeApi) UpdateInviteCode ¶
func (inviteCodeApi *InviteCodeApi) UpdateInviteCode(c *gin.Context)
UpdateInviteCode 更新邀请码 @Tags InviteCode @Summary 更新邀请码 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body util.InviteCode true "更新邀请码" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /inviteCode/updateInviteCode [put]