Documentation
¶
Index ¶
- type ApiGroup
- type EnterpriseCodeAccountApi
- func (a *EnterpriseCodeAccountApi) CreateEnterpriseCodeAccount(c *gin.Context)
- func (a *EnterpriseCodeAccountApi) DeleteEnterpriseCodeAccounts(c *gin.Context)
- func (a *EnterpriseCodeAccountApi) GetAllEnterpriseCodeAccounts(c *gin.Context)
- func (a *EnterpriseCodeAccountApi) GetEnterpriseCodeAccount(c *gin.Context)
- func (a *EnterpriseCodeAccountApi) GetEnterpriseCodeAccounts(c *gin.Context)
- func (a *EnterpriseCodeAccountApi) SwitchEnterpriseCodeAccounts(c *gin.Context)
- func (a *EnterpriseCodeAccountApi) UpdateEnterpriseCodeAccount(c *gin.Context)
- type EnterpriseCodeEmployeeApi
- func (a *EnterpriseCodeEmployeeApi) CreateEnterpriseCodeEmployee(c *gin.Context)
- func (a *EnterpriseCodeEmployeeApi) DeleteEnterpriseCodeEmployees(c *gin.Context)
- func (a *EnterpriseCodeEmployeeApi) GetAllEnterpriseCodeEmployees(c *gin.Context)
- func (a *EnterpriseCodeEmployeeApi) GetEnterpriseCodeEmployee(c *gin.Context)
- func (a *EnterpriseCodeEmployeeApi) GetEnterpriseCodeEmployees(c *gin.Context)
- func (a *EnterpriseCodeEmployeeApi) SwitchEnterpriseCodeEmployees(c *gin.Context)
- func (a *EnterpriseCodeEmployeeApi) UpdateEnterpriseCodeEmployee(c *gin.Context)
- type EnterpriseCodeRuleApi
- func (a *EnterpriseCodeRuleApi) CreateEnterpriseCodeRule(c *gin.Context)
- func (a *EnterpriseCodeRuleApi) DeleteEnterpriseCodeRules(c *gin.Context)
- func (a *EnterpriseCodeRuleApi) GetAllEnterpriseCodeRules(c *gin.Context)
- func (a *EnterpriseCodeRuleApi) GetEnterpriseCodeRule(c *gin.Context)
- func (a *EnterpriseCodeRuleApi) GetEnterpriseCodeRules(c *gin.Context)
- func (a *EnterpriseCodeRuleApi) SwitchEnterpriseCodeRules(c *gin.Context)
- func (a *EnterpriseCodeRuleApi) UpdateEnterpriseCodeRule(c *gin.Context)
- type PaymentAccountApi
- func (a *PaymentAccountApi) CreatePaymentAccount(c *gin.Context)
- func (a *PaymentAccountApi) DeletePaymentAccounts(c *gin.Context)
- func (a *PaymentAccountApi) GetAllPaymentAccounts(c *gin.Context)
- func (a *PaymentAccountApi) GetPaymentAccount(c *gin.Context)
- func (a *PaymentAccountApi) GetPaymentAccounts(c *gin.Context)
- func (a *PaymentAccountApi) SwitchPaymentAccounts(c *gin.Context)
- func (a *PaymentAccountApi) UpdatePaymentAccount(c *gin.Context)
- type PlatformAccountApi
- func (a *PlatformAccountApi) CreatePlatformAccount(c *gin.Context)
- func (a *PlatformAccountApi) DeletePlatformAccounts(c *gin.Context)
- func (a *PlatformAccountApi) GetAllPlatformAccounts(c *gin.Context)
- func (a *PlatformAccountApi) GetPlatformAccount(c *gin.Context)
- func (a *PlatformAccountApi) GetPlatformAccounts(c *gin.Context)
- func (a *PlatformAccountApi) SwitchPlatformAccounts(c *gin.Context)
- func (a *PlatformAccountApi) UpdatePlatformAccount(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiGroup ¶
type ApiGroup struct {
PlatformAccountApi
PaymentAccountApi
EnterpriseCodeAccountApi
EnterpriseCodeRuleApi
EnterpriseCodeEmployeeApi
}
type EnterpriseCodeAccountApi ¶
type EnterpriseCodeAccountApi struct{}
func (*EnterpriseCodeAccountApi) CreateEnterpriseCodeAccount ¶
func (a *EnterpriseCodeAccountApi) CreateEnterpriseCodeAccount(c *gin.Context)
@Tags EnterpriseCodeAccount企业码账户 @Summary 新增企业码账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.EnterpriseCodeAccount true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeAccount} "响应" @Router /enterpriseCodeAccount/createEnterpriseCodeAccount [post]
func (*EnterpriseCodeAccountApi) DeleteEnterpriseCodeAccounts ¶
func (a *EnterpriseCodeAccountApi) DeleteEnterpriseCodeAccounts(c *gin.Context)
@Tags EnterpriseCodeAccount企业码账户 @Summary 删除企业码账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsRequest true "请求" @Success 200 {object} response.Response "响应" @Router /enterpriseCodeAccount/deleteEnterpriseCodeAccounts [delete]
func (*EnterpriseCodeAccountApi) GetAllEnterpriseCodeAccounts ¶
func (a *EnterpriseCodeAccountApi) GetAllEnterpriseCodeAccounts(c *gin.Context)
@Tags EnterpriseCodeAccount企业码账户 @Summary 查询全部企业码账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.EnterpriseCodeAccountRequest true "请求" @Success 200 {object} response.Response{data=[]platform.EnterpriseCodeAccount} "响应" @Router /enterpriseCodeAccount/getAllEnterpriseCodeAccounts [get]
func (*EnterpriseCodeAccountApi) GetEnterpriseCodeAccount ¶
func (a *EnterpriseCodeAccountApi) GetEnterpriseCodeAccount(c *gin.Context)
@Tags EnterpriseCodeAccount企业码账户 @Summary 查询企业码账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeAccount} "响应" @Router /enterpriseCodeAccount/getEnterpriseCodeAccount [get]
func (*EnterpriseCodeAccountApi) GetEnterpriseCodeAccounts ¶
func (a *EnterpriseCodeAccountApi) GetEnterpriseCodeAccounts(c *gin.Context)
@Tags EnterpriseCodeAccount企业码账户 @Summary 查询企业码账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.EnterpriseCodeAccountRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]platform.EnterpriseCodeAccount}} "响应" @Router /enterpriseCodeAccount/getEnterpriseCodeAccounts [get]
func (*EnterpriseCodeAccountApi) SwitchEnterpriseCodeAccounts ¶
func (a *EnterpriseCodeAccountApi) SwitchEnterpriseCodeAccounts(c *gin.Context)
@Tags EnterpriseCodeAccount企业码账户 @Summary 开关企业码账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SwitchRequest true "请求" @Success 200 {object} response.Response "响应" @Router /enterpriseCodeAccount/switchEnterpriseCodeAccounts [put]
func (*EnterpriseCodeAccountApi) UpdateEnterpriseCodeAccount ¶
func (a *EnterpriseCodeAccountApi) UpdateEnterpriseCodeAccount(c *gin.Context)
@Tags EnterpriseCodeAccount企业码账户 @Summary 修改企业码账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.EnterpriseCodeAccount true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeAccount} "响应" @Router /enterpriseCodeAccount/updateEnterpriseCodeAccount [put]
type EnterpriseCodeEmployeeApi ¶
type EnterpriseCodeEmployeeApi struct{}
func (*EnterpriseCodeEmployeeApi) CreateEnterpriseCodeEmployee ¶
func (a *EnterpriseCodeEmployeeApi) CreateEnterpriseCodeEmployee(c *gin.Context)
@Tags EnterpriseCodeEmployee企业码员工 @Summary 新增企业码员工 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.EnterpriseCodeEmployee true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeEmployee} "响应" @Router /enterpriseCodeEmployee/createEnterpriseCodeEmployee [post]
func (*EnterpriseCodeEmployeeApi) DeleteEnterpriseCodeEmployees ¶
func (a *EnterpriseCodeEmployeeApi) DeleteEnterpriseCodeEmployees(c *gin.Context)
@Tags EnterpriseCodeEmployee企业码员工 @Summary 删除企业码员工 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsRequest true "请求" @Success 200 {object} response.Response "响应" @Router /enterpriseCodeEmployee/deleteEnterpriseCodeEmployees [delete]
func (*EnterpriseCodeEmployeeApi) GetAllEnterpriseCodeEmployees ¶
func (a *EnterpriseCodeEmployeeApi) GetAllEnterpriseCodeEmployees(c *gin.Context)
@Tags EnterpriseCodeEmployee企业码员工 @Summary 查询全部企业码员工列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.EnterpriseCodeEmployeeRequest true "请求" @Success 200 {object} response.Response{data=[]platform.EnterpriseCodeEmployee} "响应" @Router /enterpriseCodeEmployee/getAllEnterpriseCodeEmployees [get]
func (*EnterpriseCodeEmployeeApi) GetEnterpriseCodeEmployee ¶
func (a *EnterpriseCodeEmployeeApi) GetEnterpriseCodeEmployee(c *gin.Context)
@Tags EnterpriseCodeEmployee企业码员工 @Summary 查询企业码员工 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeEmployee} "响应" @Router /enterpriseCodeEmployee/getEnterpriseCodeEmployee [get]
func (*EnterpriseCodeEmployeeApi) GetEnterpriseCodeEmployees ¶
func (a *EnterpriseCodeEmployeeApi) GetEnterpriseCodeEmployees(c *gin.Context)
@Tags EnterpriseCodeEmployee企业码员工 @Summary 查询企业码员工列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.EnterpriseCodeEmployeeRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]platform.EnterpriseCodeEmployee}} "响应" @Router /enterpriseCodeEmployee/getEnterpriseCodeEmployees [get]
func (*EnterpriseCodeEmployeeApi) SwitchEnterpriseCodeEmployees ¶
func (a *EnterpriseCodeEmployeeApi) SwitchEnterpriseCodeEmployees(c *gin.Context)
@Tags EnterpriseCodeEmployee企业码员工 @Summary 开关企业码员工列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SwitchRequest true "请求" @Success 200 {object} response.Response "响应" @Router /enterpriseCodeEmployee/switchEnterpriseCodeEmployees [put]
func (*EnterpriseCodeEmployeeApi) UpdateEnterpriseCodeEmployee ¶
func (a *EnterpriseCodeEmployeeApi) UpdateEnterpriseCodeEmployee(c *gin.Context)
@Tags EnterpriseCodeEmployee企业码员工 @Summary 修改企业码员工 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.EnterpriseCodeEmployee true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeEmployee} "响应" @Router /enterpriseCodeEmployee/updateEnterpriseCodeEmployee [put]
type EnterpriseCodeRuleApi ¶
type EnterpriseCodeRuleApi struct{}
func (*EnterpriseCodeRuleApi) CreateEnterpriseCodeRule ¶
func (a *EnterpriseCodeRuleApi) CreateEnterpriseCodeRule(c *gin.Context)
@Tags EnterpriseCodeRule企业码规则 @Summary 新增企业码规则 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.EnterpriseCodeRule true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeRule} "响应" @Router /enterpriseCodeRule/createEnterpriseCodeRule [post]
func (*EnterpriseCodeRuleApi) DeleteEnterpriseCodeRules ¶
func (a *EnterpriseCodeRuleApi) DeleteEnterpriseCodeRules(c *gin.Context)
@Tags EnterpriseCodeRule企业码规则 @Summary 删除企业码规则 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsRequest true "请求" @Success 200 {object} response.Response "响应" @Router /enterpriseCodeRule/deleteEnterpriseCodeRules [delete]
func (*EnterpriseCodeRuleApi) GetAllEnterpriseCodeRules ¶
func (a *EnterpriseCodeRuleApi) GetAllEnterpriseCodeRules(c *gin.Context)
@Tags EnterpriseCodeRule企业码规则 @Summary 查询全部企业码规则列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.EnterpriseCodeRuleRequest true "请求" @Success 200 {object} response.Response{data=[]platform.EnterpriseCodeRule} "响应" @Router /enterpriseCodeRule/getAllEnterpriseCodeRules [get]
func (*EnterpriseCodeRuleApi) GetEnterpriseCodeRule ¶
func (a *EnterpriseCodeRuleApi) GetEnterpriseCodeRule(c *gin.Context)
@Tags EnterpriseCodeRule企业码规则 @Summary 查询企业码规则 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeRule} "响应" @Router /enterpriseCodeRule/getEnterpriseCodeRule [get]
func (*EnterpriseCodeRuleApi) GetEnterpriseCodeRules ¶
func (a *EnterpriseCodeRuleApi) GetEnterpriseCodeRules(c *gin.Context)
@Tags EnterpriseCodeRule企业码规则 @Summary 查询企业码规则列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.EnterpriseCodeRuleRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]platform.EnterpriseCodeRule}} "响应" @Router /enterpriseCodeRule/getEnterpriseCodeRules [get]
func (*EnterpriseCodeRuleApi) SwitchEnterpriseCodeRules ¶
func (a *EnterpriseCodeRuleApi) SwitchEnterpriseCodeRules(c *gin.Context)
@Tags EnterpriseCodeRule企业码规则 @Summary 开关企业码规则列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SwitchRequest true "请求" @Success 200 {object} response.Response "响应" @Router /enterpriseCodeRule/switchEnterpriseCodeRules [put]
func (*EnterpriseCodeRuleApi) UpdateEnterpriseCodeRule ¶
func (a *EnterpriseCodeRuleApi) UpdateEnterpriseCodeRule(c *gin.Context)
@Tags EnterpriseCodeRule企业码规则 @Summary 修改企业码规则 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.EnterpriseCodeRule true "请求" @Success 200 {object} response.Response{data=platform.EnterpriseCodeRule} "响应" @Router /enterpriseCodeRule/updateEnterpriseCodeRule [put]
type PaymentAccountApi ¶
type PaymentAccountApi struct{}
func (*PaymentAccountApi) CreatePaymentAccount ¶
func (a *PaymentAccountApi) CreatePaymentAccount(c *gin.Context)
@Tags PaymentAccount支付账户 @Summary 新增支付账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.PaymentAccount true "请求" @Success 200 {object} response.Response{data=platform.PaymentAccount} "响应" @Router /paymentAccount/createPaymentAccount [post]
func (*PaymentAccountApi) DeletePaymentAccounts ¶
func (a *PaymentAccountApi) DeletePaymentAccounts(c *gin.Context)
@Tags PaymentAccount支付账户 @Summary 删除支付账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsRequest true "请求" @Success 200 {object} response.Response "响应" @Router /paymentAccount/deletePaymentAccounts [delete]
func (*PaymentAccountApi) GetAllPaymentAccounts ¶
func (a *PaymentAccountApi) GetAllPaymentAccounts(c *gin.Context)
@Tags PaymentAccount支付账户 @Summary 查询全部支付账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.PaymentAccountRequest true "请求" @Success 200 {object} response.Response{data=[]platform.PaymentAccount} "响应" @Router /paymentAccount/getAllPaymentAccounts [get]
func (*PaymentAccountApi) GetPaymentAccount ¶
func (a *PaymentAccountApi) GetPaymentAccount(c *gin.Context)
@Tags PaymentAccount支付账户 @Summary 查询支付账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=platform.PaymentAccount} "响应" @Router /paymentAccount/getPaymentAccount [get]
func (*PaymentAccountApi) GetPaymentAccounts ¶
func (a *PaymentAccountApi) GetPaymentAccounts(c *gin.Context)
@Tags PaymentAccount支付账户 @Summary 查询支付账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.PaymentAccountRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]platform.PaymentAccount}} "响应" @Router /paymentAccount/getPaymentAccounts [get]
func (*PaymentAccountApi) SwitchPaymentAccounts ¶
func (a *PaymentAccountApi) SwitchPaymentAccounts(c *gin.Context)
@Tags PaymentAccount支付账户 @Summary 开关支付账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SwitchRequest true "请求" @Success 200 {object} response.Response "响应" @Router /paymentAccount/switchPaymentAccounts [put]
func (*PaymentAccountApi) UpdatePaymentAccount ¶
func (a *PaymentAccountApi) UpdatePaymentAccount(c *gin.Context)
@Tags PaymentAccount支付账户 @Summary 修改支付账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.PaymentAccount true "请求" @Success 200 {object} response.Response{data=platform.PaymentAccount} "响应" @Router /paymentAccount/updatePaymentAccount [put]
type PlatformAccountApi ¶
type PlatformAccountApi struct{}
func (*PlatformAccountApi) CreatePlatformAccount ¶
func (a *PlatformAccountApi) CreatePlatformAccount(c *gin.Context)
@Tags PlatformAccount平台账户 @Summary 新增平台账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.PlatformAccount true "请求" @Success 200 {object} response.Response{data=platform.PlatformAccount} "响应" @Router /platformAccount/createPlatformAccount [post]
func (*PlatformAccountApi) DeletePlatformAccounts ¶
func (a *PlatformAccountApi) DeletePlatformAccounts(c *gin.Context)
@Tags PlatformAccount平台账户 @Summary 删除平台账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsRequest true "请求" @Success 200 {object} response.Response "响应" @Router /platformAccount/deletePlatformAccounts [delete]
func (*PlatformAccountApi) GetAllPlatformAccounts ¶
func (a *PlatformAccountApi) GetAllPlatformAccounts(c *gin.Context)
@Tags PlatformAccount平台账户 @Summary 查询全部平台账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.PlatformAccountRequest true "请求" @Success 200 {object} response.Response{data=[]platform.PlatformAccount} "响应" @Router /platformAccount/getAllPlatformAccounts [get]
func (*PlatformAccountApi) GetPlatformAccount ¶
func (a *PlatformAccountApi) GetPlatformAccount(c *gin.Context)
@Tags PlatformAccount平台账户 @Summary 查询平台账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=platform.PlatformAccount} "响应" @Router /platformAccount/getPlatformAccount [get]
func (*PlatformAccountApi) GetPlatformAccounts ¶
func (a *PlatformAccountApi) GetPlatformAccounts(c *gin.Context)
@Tags PlatformAccount平台账户 @Summary 查询平台账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query platform.PlatformAccountRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]platform.PlatformAccount}} "响应" @Router /platformAccount/getPlatformAccounts [get]
func (*PlatformAccountApi) SwitchPlatformAccounts ¶
func (a *PlatformAccountApi) SwitchPlatformAccounts(c *gin.Context)
@Tags PlatformAccount平台账户 @Summary 开关平台账户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SwitchRequest true "请求" @Success 200 {object} response.Response "响应" @Router /platformAccount/switchPlatformAccounts [put]
func (*PlatformAccountApi) UpdatePlatformAccount ¶
func (a *PlatformAccountApi) UpdatePlatformAccount(c *gin.Context)
@Tags PlatformAccount平台账户 @Summary 修改平台账户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body platform.PlatformAccount true "请求" @Success 200 {object} response.Response{data=platform.PlatformAccount} "响应" @Router /platformAccount/updatePlatformAccount [put]