Documentation ¶
Index ¶
- Variables
- type ApiGroup
- type OrganizationApi
- func (orgApi *OrganizationApi) CreateOrgUser(c *gin.Context)
- func (orgApi *OrganizationApi) CreateOrganization(c *gin.Context)
- func (orgApi *OrganizationApi) DeleteOrgUser(c *gin.Context)
- func (orgApi *OrganizationApi) DeleteOrganization(c *gin.Context)
- func (orgApi *OrganizationApi) DeleteOrganizationByIds(c *gin.Context)
- func (orgApi *OrganizationApi) FindOrgUserAll(c *gin.Context)
- func (orgApi *OrganizationApi) FindOrgUserList(c *gin.Context)
- func (orgApi *OrganizationApi) FindOrganization(c *gin.Context)
- func (orgApi *OrganizationApi) GetAuthority(c *gin.Context)
- func (orgApi *OrganizationApi) GetOrganizationList(c *gin.Context)
- func (orgApi *OrganizationApi) SetOrgAuthority(c *gin.Context)
- func (orgApi *OrganizationApi) SetOrgUserAdmin(c *gin.Context)
- func (orgApi *OrganizationApi) SyncAuthority(c *gin.Context)
- func (orgApi *OrganizationApi) TransferOrgUser(c *gin.Context)
- func (orgApi *OrganizationApi) UpdateOrganization(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
var ApiGroupApp = new(ApiGroup)
Functions ¶
This section is empty.
Types ¶
type ApiGroup ¶
type ApiGroup struct {
OrganizationApi
}
type OrganizationApi ¶
type OrganizationApi struct { }
func (*OrganizationApi) CreateOrgUser ¶
func (orgApi *OrganizationApi) CreateOrgUser(c *gin.Context)
func (*OrganizationApi) CreateOrganization ¶
func (orgApi *OrganizationApi) CreateOrganization(c *gin.Context)
CreateOrganization 创建Organization @Tags Organization @Summary 创建Organization @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body organization.Organization true "创建Organization" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /org/createOrganization [post]
func (*OrganizationApi) DeleteOrgUser ¶
func (orgApi *OrganizationApi) DeleteOrgUser(c *gin.Context)
func (*OrganizationApi) DeleteOrganization ¶
func (orgApi *OrganizationApi) DeleteOrganization(c *gin.Context)
DeleteOrganization 删除Organization @Tags Organization @Summary 删除Organization @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body organization.Organization true "删除Organization" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /org/deleteOrganization [delete]
func (*OrganizationApi) DeleteOrganizationByIds ¶
func (orgApi *OrganizationApi) DeleteOrganizationByIds(c *gin.Context)
DeleteOrganizationByIds 批量删除Organization @Tags Organization @Summary 批量删除Organization @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除Organization" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /org/deleteOrganizationByIds [delete]
func (*OrganizationApi) FindOrgUserAll ¶
func (orgApi *OrganizationApi) FindOrgUserAll(c *gin.Context)
func (*OrganizationApi) FindOrgUserList ¶
func (orgApi *OrganizationApi) FindOrgUserList(c *gin.Context)
func (*OrganizationApi) FindOrganization ¶
func (orgApi *OrganizationApi) FindOrganization(c *gin.Context)
FindOrganization 用id查询Organization @Tags Organization @Summary 用id查询Organization @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query organization.Organization true "用id查询Organization" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /org/findOrganization [get]
func (*OrganizationApi) GetAuthority ¶
func (orgApi *OrganizationApi) GetAuthority(c *gin.Context)
func (*OrganizationApi) GetOrganizationList ¶
func (orgApi *OrganizationApi) GetOrganizationList(c *gin.Context)
GetOrganizationList 分页获取Organization列表 @Tags Organization @Summary 分页获取Organization列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query organizationReq.OrganizationSearch true "分页获取Organization列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /org/getOrganizationList [get]
func (*OrganizationApi) SetOrgAuthority ¶
func (orgApi *OrganizationApi) SetOrgAuthority(c *gin.Context)
func (*OrganizationApi) SetOrgUserAdmin ¶
func (orgApi *OrganizationApi) SetOrgUserAdmin(c *gin.Context)
func (*OrganizationApi) SyncAuthority ¶
func (orgApi *OrganizationApi) SyncAuthority(c *gin.Context)
func (*OrganizationApi) TransferOrgUser ¶
func (orgApi *OrganizationApi) TransferOrgUser(c *gin.Context)
func (*OrganizationApi) UpdateOrganization ¶
func (orgApi *OrganizationApi) UpdateOrganization(c *gin.Context)
UpdateOrganization 更新Organization @Tags Organization @Summary 更新Organization @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body organization.Organization true "更新Organization" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /org/updateOrganization [put]