Documentation ¶
Index ¶
- type ApiGroup
- type ServiceStationArticleApi
- func (serviceStationArticleApi *ServiceStationArticleApi) CreateServiceStationArticle(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) DeleteServiceStationArticle(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) DeleteServiceStationArticleByIds(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) FindServiceStationArticle(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) GetArticleById(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) GetArticleList(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) GetReadList(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) GetServiceStationArticleList(c *gin.Context)
- func (serviceStationArticleApi *ServiceStationArticleApi) UpdateServiceStationArticle(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiGroup ¶
type ApiGroup struct {
ServiceStationArticleApi
}
type ServiceStationArticleApi ¶
type ServiceStationArticleApi struct { }
func (*ServiceStationArticleApi) CreateServiceStationArticle ¶
func (serviceStationArticleApi *ServiceStationArticleApi) CreateServiceStationArticle(c *gin.Context)
CreateServiceStationArticle 创建服务站文章 @Tags ServiceStationArticle @Summary 创建服务站文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body structure.ServiceStationArticle true "创建服务站文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /serviceStationArticle/createServiceStationArticle [post]
func (*ServiceStationArticleApi) DeleteServiceStationArticle ¶
func (serviceStationArticleApi *ServiceStationArticleApi) DeleteServiceStationArticle(c *gin.Context)
DeleteServiceStationArticle 删除服务站文章 @Tags ServiceStationArticle @Summary 删除服务站文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body structure.ServiceStationArticle true "删除服务站文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /serviceStationArticle/deleteServiceStationArticle [delete]
func (*ServiceStationArticleApi) DeleteServiceStationArticleByIds ¶
func (serviceStationArticleApi *ServiceStationArticleApi) DeleteServiceStationArticleByIds(c *gin.Context)
DeleteServiceStationArticleByIds 批量删除服务站文章 @Tags ServiceStationArticle @Summary 批量删除服务站文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除服务站文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /serviceStationArticle/deleteServiceStationArticleByIds [delete]
func (*ServiceStationArticleApi) FindServiceStationArticle ¶
func (serviceStationArticleApi *ServiceStationArticleApi) FindServiceStationArticle(c *gin.Context)
FindServiceStationArticle 用id查询服务站文章 @Tags ServiceStationArticle @Summary 用id查询服务站文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structure.ServiceStationArticle true "用id查询服务站文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /serviceStationArticle/findServiceStationArticle [get]
func (*ServiceStationArticleApi) GetArticleById ¶
func (serviceStationArticleApi *ServiceStationArticleApi) GetArticleById(c *gin.Context)
GetArticleById 根据ID获取服务站文章 @Tags ServiceStationArticle @Summary 根据ID获取服务站文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structure.ServiceStationArticle true "根据ID获取服务站文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /serviceStationArticle/findServiceStationArticle [get]
func (*ServiceStationArticleApi) GetArticleList ¶
func (serviceStationArticleApi *ServiceStationArticleApi) GetArticleList(c *gin.Context)
GetArticleList 获取服务站文章列表 @Tags ServiceStationArticle @Summary 获取服务站文章列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structure.ServiceStationArticle true "获取服务站文章列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /serviceStationArticle/findServiceStationArticle [get]
func (*ServiceStationArticleApi) GetReadList ¶
func (serviceStationArticleApi *ServiceStationArticleApi) GetReadList(c *gin.Context)
GetReadList 获取文章阅读名单 @Tags ServiceStationArticle @Summary 获取文章阅读名单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structure.ServiceStationArticle true "获取文章阅读名单" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /serviceStationArticle/findServiceStationArticle [get]
func (*ServiceStationArticleApi) GetServiceStationArticleList ¶
func (serviceStationArticleApi *ServiceStationArticleApi) GetServiceStationArticleList(c *gin.Context)
GetServiceStationArticleList 分页获取服务站文章列表 @Tags ServiceStationArticle @Summary 分页获取服务站文章列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structureReq.ServiceStationArticleSearch true "分页获取服务站文章列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /serviceStationArticle/getServiceStationArticleList [get]
func (*ServiceStationArticleApi) UpdateServiceStationArticle ¶
func (serviceStationArticleApi *ServiceStationArticleApi) UpdateServiceStationArticle(c *gin.Context)
UpdateServiceStationArticle 更新服务站文章 @Tags ServiceStationArticle @Summary 更新服务站文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body structure.ServiceStationArticle true "更新服务站文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /serviceStationArticle/updateServiceStationArticle [put]