Documentation ¶
Index ¶
- Variables
- type ApiGroup
- type CircleApi
- func (circleApi *CircleApi) CircleLike(c *gin.Context)
- func (circleApi *CircleApi) Comment(c *gin.Context)
- func (circleApi *CircleApi) DeleteCircle(c *gin.Context)
- func (circleApi *CircleApi) DeleteComment(c *gin.Context)
- func (circleApi *CircleApi) FindCircleInfo(c *gin.Context)
- func (circleApi *CircleApi) GetCircleCommentsInfoList(c *gin.Context)
- func (circleApi *CircleApi) GetCircleCommentsList(c *gin.Context)
- func (circleApi *CircleApi) GetCircleList(c *gin.Context)
- func (circleApi *CircleApi) GetHealthCircleList(c *gin.Context)
- func (circleApi *CircleApi) Publish(c *gin.Context)
- func (circleApi *CircleApi) ReportCircle(c *gin.Context)
- type DiseaseApi
- func (diseaseApi *DiseaseApi) CreateDisease(c *gin.Context)
- func (diseaseApi *DiseaseApi) DeleteDisease(c *gin.Context)
- func (diseaseApi *DiseaseApi) DeleteDiseaseByIds(c *gin.Context)
- func (diseaseApi *DiseaseApi) FindDisease(c *gin.Context)
- func (diseaseApi *DiseaseApi) GetDiseaseGraphic(c *gin.Context)
- func (diseaseApi *DiseaseApi) GetDiseaseList(c *gin.Context)
- func (diseaseApi *DiseaseApi) SetDiseaseGraphic(c *gin.Context)
- func (diseaseApi *DiseaseApi) UpdateDisease(c *gin.Context)
- type FdEfficacyApi
- func (fdEfficacyApi *FdEfficacyApi) CreateFdEfficacy(c *gin.Context)
- func (fdEfficacyApi *FdEfficacyApi) DeleteFdEfficacy(c *gin.Context)
- func (fdEfficacyApi *FdEfficacyApi) DeleteFdEfficacyByIds(c *gin.Context)
- func (fdEfficacyApi *FdEfficacyApi) FindFdEfficacy(c *gin.Context)
- func (fdEfficacyApi *FdEfficacyApi) GetFdEfficacyGraphic(c *gin.Context)
- func (fdEfficacyApi *FdEfficacyApi) GetFdEfficacyList(c *gin.Context)
- func (fdEfficacyApi *FdEfficacyApi) SetFdEfficacyGraphic(c *gin.Context)
- func (fdEfficacyApi *FdEfficacyApi) UpdateFdEfficacy(c *gin.Context)
- type FdJqApi
- func (fdJqApi *FdJqApi) CreateFdJq(c *gin.Context)
- func (fdJqApi *FdJqApi) DeleteFdJq(c *gin.Context)
- func (fdJqApi *FdJqApi) DeleteFdJqByIds(c *gin.Context)
- func (fdJqApi *FdJqApi) FindFdJq(c *gin.Context)
- func (fdJqApi *FdJqApi) GetFdJqGraphic(c *gin.Context)
- func (fdJqApi *FdJqApi) GetFdJqList(c *gin.Context)
- func (fdJqApi *FdJqApi) SetFdJqGraphic(c *gin.Context)
- func (fdJqApi *FdJqApi) UpdateFdJq(c *gin.Context)
- type HealthQAndAApi
- func (QuestionAndAnswerApi *HealthQAndAApi) CreateHealthQAndA(c *gin.Context)
- func (QuestionAndAnswerApi *HealthQAndAApi) DeleteHealthQAndA(c *gin.Context)
- func (QuestionAndAnswerApi *HealthQAndAApi) DeleteHealthQAndAByIds(c *gin.Context)
- func (QuestionAndAnswerApi *HealthQAndAApi) FindHealthQAndA(c *gin.Context)
- func (QuestionAndAnswerApi *HealthQAndAApi) GetHealthAnswerListByQuestion(c *gin.Context)
- func (QuestionAndAnswerApi *HealthQAndAApi) GetHealthQAndAList(c *gin.Context)
- func (QuestionAndAnswerApi *HealthQAndAApi) UpdateHealthQAndA(c *gin.Context)
- type HealthQuestionApi
- func (hqApi *HealthQuestionApi) CreateHealthQuestion(c *gin.Context)
- func (hqApi *HealthQuestionApi) DeleteHealthQuestion(c *gin.Context)
- func (hqApi *HealthQuestionApi) DeleteHealthQuestionByIds(c *gin.Context)
- func (hqApi *HealthQuestionApi) FindHealthQuestion(c *gin.Context)
- func (hqApi *HealthQuestionApi) GetHealthQuestionList(c *gin.Context)
- func (hqApi *HealthQuestionApi) UpdateHealthQuestion(c *gin.Context)
- type PhysiqueApi
- func (physiqueApi *PhysiqueApi) CreatePhysique(c *gin.Context)
- func (physiqueApi *PhysiqueApi) DeletePhysique(c *gin.Context)
- func (physiqueApi *PhysiqueApi) DeletePhysiqueByIds(c *gin.Context)
- func (physiqueApi *PhysiqueApi) FindPhysique(c *gin.Context)
- func (physiqueApi *PhysiqueApi) GetPhysiqueGraphic(c *gin.Context)
- func (physiqueApi *PhysiqueApi) GetPhysiqueList(c *gin.Context)
- func (physiqueApi *PhysiqueApi) SetPhysiqueGraphic(c *gin.Context)
- func (physiqueApi *PhysiqueApi) UpdatePhysique(c *gin.Context)
- type ShipuApi
- func (shipuApi *ShipuApi) CreateShipu(c *gin.Context)
- func (shipuApi *ShipuApi) DeleteShipu(c *gin.Context)
- func (shipuApi *ShipuApi) DeleteShipuByIds(c *gin.Context)
- func (shipuApi *ShipuApi) FindShipu(c *gin.Context)
- func (shipuApi *ShipuApi) GetShipuList(c *gin.Context)
- func (shipuApi *ShipuApi) UpdateShipu(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
var ( UserService = service.ServiceGroupApp.UserServiceGroup.UserService CircleService = service.ServiceGroupApp.HealthServiceGroup.CircleService )
var QuestionAndAnswerService = service.ServiceGroupApp.HealthServiceGroup.HealthQAndAService
Functions ¶
This section is empty.
Types ¶
type ApiGroup ¶
type ApiGroup struct { CircleApi PhysiqueApi DiseaseApi ShipuApi FdEfficacyApi FdJqApi HealthQAndAApi HealthQuestionApi }
type CircleApi ¶
type CircleApi struct { }
func (*CircleApi) CircleLike ¶
CircleLike 健康圈点赞 @Tags CircleLike @Summary 用id查询FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /circle/like [get]
func (*CircleApi) Comment ¶
Comment 评论健康圈 @Tags User @Summary 注册 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body circle.Comment true "评论" @Success 200 {string} string "{"code":0,"data":{},"msg":"发布成功"}" @Router /api/circle/comment [post]
func (*CircleApi) DeleteCircle ¶
DeleteCircle 删除健康圈 @Tags DeleteCircle @Summary 删除健康圈 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"操作成功"}" @Router /circle/deleteCircle [get]
func (*CircleApi) DeleteComment ¶
DeleteComment 删除评论 @Tags DeleteComment @Summary 删除健康圈 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"操作成功"}" @Router /circle/deleteComment [delete]
func (*CircleApi) FindCircleInfo ¶
FindCircleInfo 获取健康圈详情 @Tags Branch @Summary 分页获取Branch列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structureReq.BranchSearch true "分页获取Branch列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /circle/findCircleInfo [get]
func (*CircleApi) GetCircleCommentsInfoList ¶
GetCircleCommentsInfoList 获取健康圈评论列表 @Tags Branch @Summary 分页获取Branch列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structureReq.BranchSearch true "分页获取Branch列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /circle/getCircleCommentsList [post]
func (*CircleApi) GetCircleCommentsList ¶
GetCircleCommentsList 获取评论列表 @Tags Branch @Summary 健康圈 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structureReq.BranchSearch true "分页获取评论列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /circle/getCommentsList [post]
func (*CircleApi) GetCircleList ¶
GetCircleList 分页获取健康圈列表 @Tags Branch @Summary 分页获取Branch列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structureReq.BranchSearch true "分页获取健康圈列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /circle/getCircleList [post]
func (*CircleApi) GetHealthCircleList ¶
GetHealthCircleList 分页获取健康圈列表【管理端】 @Tags Branch @Summary 分页获取Branch列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structureReq.BranchSearch true "分页获取健康圈列表【管理端】" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /circle/getHealthCircleList [get]
func (*CircleApi) Publish ¶
Publish 发布健康圈 @Tags User @Summary 注册 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body circle.Publish true "发布健康圈" @Success 200 {string} string "{"code":0,"data":{},"msg":"发布成功"}" @Router /api/circle/publish [post]
func (*CircleApi) ReportCircle ¶
ReportCircle 举报健康圈 @Tags Branch @Summary 分页获取Branch列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query structureReq.BranchSearch true "分页获取Branch列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /circle/reportCircle [post]
type DiseaseApi ¶
type DiseaseApi struct { }
func (*DiseaseApi) CreateDisease ¶
func (diseaseApi *DiseaseApi) CreateDisease(c *gin.Context)
CreateDisease 创建Disease @Tags Disease @Summary 创建Disease @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Disease true "创建Disease" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /disease/createDisease [post]
func (*DiseaseApi) DeleteDisease ¶
func (diseaseApi *DiseaseApi) DeleteDisease(c *gin.Context)
DeleteDisease 删除Disease @Tags Disease @Summary 删除Disease @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Disease true "删除Disease" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /disease/deleteDisease [delete]
func (*DiseaseApi) DeleteDiseaseByIds ¶
func (diseaseApi *DiseaseApi) DeleteDiseaseByIds(c *gin.Context)
DeleteDiseaseByIds 批量删除Disease @Tags Disease @Summary 批量删除Disease @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除Disease" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /disease/deleteDiseaseByIds [delete]
func (*DiseaseApi) FindDisease ¶
func (diseaseApi *DiseaseApi) FindDisease(c *gin.Context)
FindDisease 用id查询Disease @Tags Disease @Summary 用id查询Disease @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query health.Disease true "用id查询Disease" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /disease/findDisease [get]
func (*DiseaseApi) GetDiseaseGraphic ¶
func (diseaseApi *DiseaseApi) GetDiseaseGraphic(c *gin.Context)
func (*DiseaseApi) GetDiseaseList ¶
func (diseaseApi *DiseaseApi) GetDiseaseList(c *gin.Context)
GetDiseaseList 分页获取Disease列表 @Tags Disease @Summary 分页获取Disease列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.DiseaseSearch true "分页获取Disease列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /disease/getDiseaseList [get]
func (*DiseaseApi) SetDiseaseGraphic ¶
func (diseaseApi *DiseaseApi) SetDiseaseGraphic(c *gin.Context)
func (*DiseaseApi) UpdateDisease ¶
func (diseaseApi *DiseaseApi) UpdateDisease(c *gin.Context)
UpdateDisease 更新Disease @Tags Disease @Summary 更新Disease @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Disease true "更新Disease" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /disease/updateDisease [put]
type FdEfficacyApi ¶
type FdEfficacyApi struct { }
func (*FdEfficacyApi) CreateFdEfficacy ¶
func (fdEfficacyApi *FdEfficacyApi) CreateFdEfficacy(c *gin.Context)
CreateFdEfficacy 创建功效 @Tags FdEfficacy @Summary 创建功效 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.FdEfficacy true "创建功效" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /fdEfficacy/createFdEfficacy [post]
func (*FdEfficacyApi) DeleteFdEfficacy ¶
func (fdEfficacyApi *FdEfficacyApi) DeleteFdEfficacy(c *gin.Context)
DeleteFdEfficacy 删除功效 @Tags FdEfficacy @Summary 删除功效 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.FdEfficacy true "删除功效" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /fdEfficacy/deleteFdEfficacy [delete]
func (*FdEfficacyApi) DeleteFdEfficacyByIds ¶
func (fdEfficacyApi *FdEfficacyApi) DeleteFdEfficacyByIds(c *gin.Context)
DeleteFdEfficacyByIds 批量删除功效 @Tags FdEfficacy @Summary 批量删除功效 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除功效" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /fdEfficacy/deleteFdEfficacyByIds [delete]
func (*FdEfficacyApi) FindFdEfficacy ¶
func (fdEfficacyApi *FdEfficacyApi) FindFdEfficacy(c *gin.Context)
FindFdEfficacy 用id查询功效 @Tags FdEfficacy @Summary 用id查询功效 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query health.FdEfficacy true "用id查询功效" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdEfficacy/findFdEfficacy [get]
func (*FdEfficacyApi) GetFdEfficacyGraphic ¶
func (fdEfficacyApi *FdEfficacyApi) GetFdEfficacyGraphic(c *gin.Context)
func (*FdEfficacyApi) GetFdEfficacyList ¶
func (fdEfficacyApi *FdEfficacyApi) GetFdEfficacyList(c *gin.Context)
GetFdEfficacyList 分页获取功效列表 @Tags FdEfficacy @Summary 分页获取功效列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.FdEfficacySearch true "分页获取功效列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdEfficacy/getFdEfficacyList [get]
func (*FdEfficacyApi) SetFdEfficacyGraphic ¶
func (fdEfficacyApi *FdEfficacyApi) SetFdEfficacyGraphic(c *gin.Context)
func (*FdEfficacyApi) UpdateFdEfficacy ¶
func (fdEfficacyApi *FdEfficacyApi) UpdateFdEfficacy(c *gin.Context)
UpdateFdEfficacy 更新功效 @Tags FdEfficacy @Summary 更新功效 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.FdEfficacy true "更新功效" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /fdEfficacy/updateFdEfficacy [put]
type FdJqApi ¶
type FdJqApi struct { }
func (*FdJqApi) CreateFdJq ¶
CreateFdJq 创建节气 @Tags FdJq @Summary 创建节气 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.FdJq true "创建节气" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /fdJq/createFdJq [post]
func (*FdJqApi) DeleteFdJq ¶
DeleteFdJq 删除节气 @Tags FdJq @Summary 删除节气 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.FdJq true "删除节气" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /fdJq/deleteFdJq [delete]
func (*FdJqApi) DeleteFdJqByIds ¶
DeleteFdJqByIds 批量删除节气 @Tags FdJq @Summary 批量删除节气 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除节气" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /fdJq/deleteFdJqByIds [delete]
func (*FdJqApi) FindFdJq ¶
FindFdJq 用id查询节气 @Tags FdJq @Summary 用id查询节气 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query health.FdJq true "用id查询节气" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdJq/findFdJq [get]
func (*FdJqApi) GetFdJqGraphic ¶
func (*FdJqApi) GetFdJqList ¶
GetFdJqList 分页获取节气列表 @Tags FdJq @Summary 分页获取节气列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.FdJqSearch true "分页获取节气列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdJq/getFdJqList [get]
func (*FdJqApi) SetFdJqGraphic ¶
func (*FdJqApi) UpdateFdJq ¶
UpdateFdJq 更新节气 @Tags FdJq @Summary 更新节气 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.FdJq true "更新节气" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /fdJq/updateFdJq [put]
type HealthQAndAApi ¶
type HealthQAndAApi struct { }
func (*HealthQAndAApi) CreateHealthQAndA ¶
func (QuestionAndAnswerApi *HealthQAndAApi) CreateHealthQAndA(c *gin.Context)
CreateHealthQAndA 创建健康问答表 @Tags HealthQAndA @Summary 创建健康问答表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.HealthQAndA true "创建健康问答表" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /QuestionAndAnswer/createHealthQAndA [post]
func (*HealthQAndAApi) DeleteHealthQAndA ¶
func (QuestionAndAnswerApi *HealthQAndAApi) DeleteHealthQAndA(c *gin.Context)
DeleteHealthQAndA 删除健康问答表 @Tags HealthQAndA @Summary 删除健康问答表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.HealthQAndA true "删除健康问答表" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /QuestionAndAnswer/deleteHealthQAndA [delete]
func (*HealthQAndAApi) DeleteHealthQAndAByIds ¶
func (QuestionAndAnswerApi *HealthQAndAApi) DeleteHealthQAndAByIds(c *gin.Context)
DeleteHealthQAndAByIds 批量删除健康问答表 @Tags HealthQAndA @Summary 批量删除健康问答表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除健康问答表" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /QuestionAndAnswer/deleteHealthQAndAByIds [delete]
func (*HealthQAndAApi) FindHealthQAndA ¶
func (QuestionAndAnswerApi *HealthQAndAApi) FindHealthQAndA(c *gin.Context)
FindHealthQAndA 用id查询健康问答表 @Tags HealthQAndA @Summary 用id查询健康问答表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query health.HealthQAndA true "用id查询健康问答表" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /QuestionAndAnswer/findHealthQAndA [get]
func (*HealthQAndAApi) GetHealthAnswerListByQuestion ¶
func (QuestionAndAnswerApi *HealthQAndAApi) GetHealthAnswerListByQuestion(c *gin.Context)
GetHealthAnswerListByQuestion 获取回答列表 @Tags HealthQAndA @Summary 获取回答列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.HealthQAndASearch true "获取回答列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /QuestionAndAnswer/getHealthAnswerListByQuestion [get]
func (*HealthQAndAApi) GetHealthQAndAList ¶
func (QuestionAndAnswerApi *HealthQAndAApi) GetHealthQAndAList(c *gin.Context)
GetHealthQAndAList 分页获取健康问答表列表 @Tags HealthQAndA @Summary 分页获取健康问答表列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.HealthQAndASearch true "分页获取健康问答表列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /QuestionAndAnswer/getHealthQAndAList [get]
func (*HealthQAndAApi) UpdateHealthQAndA ¶
func (QuestionAndAnswerApi *HealthQAndAApi) UpdateHealthQAndA(c *gin.Context)
UpdateHealthQAndA 更新健康问答表 @Tags HealthQAndA @Summary 更新健康问答表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.HealthQAndA true "更新健康问答表" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /QuestionAndAnswer/updateHealthQAndA [put]
type HealthQuestionApi ¶
type HealthQuestionApi struct { }
func (*HealthQuestionApi) CreateHealthQuestion ¶
func (hqApi *HealthQuestionApi) CreateHealthQuestion(c *gin.Context)
CreateHealthQuestion 创建健康问答-待回答问题表 @Tags HealthQuestion @Summary 创建健康问答-待回答问题表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.HealthQuestion true "创建健康问答-待回答问题表" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /hq/createHealthQuestion [post]
func (*HealthQuestionApi) DeleteHealthQuestion ¶
func (hqApi *HealthQuestionApi) DeleteHealthQuestion(c *gin.Context)
DeleteHealthQuestion 删除健康问答-待回答问题表 @Tags HealthQuestion @Summary 删除健康问答-待回答问题表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.HealthQuestion true "删除健康问答-待回答问题表" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /hq/deleteHealthQuestion [delete]
func (*HealthQuestionApi) DeleteHealthQuestionByIds ¶
func (hqApi *HealthQuestionApi) DeleteHealthQuestionByIds(c *gin.Context)
DeleteHealthQuestionByIds 批量删除健康问答-待回答问题表 @Tags HealthQuestion @Summary 批量删除健康问答-待回答问题表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除健康问答-待回答问题表" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /hq/deleteHealthQuestionByIds [delete]
func (*HealthQuestionApi) FindHealthQuestion ¶
func (hqApi *HealthQuestionApi) FindHealthQuestion(c *gin.Context)
FindHealthQuestion 用id查询健康问答-待回答问题表 @Tags HealthQuestion @Summary 用id查询健康问答-待回答问题表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query health.HealthQuestion true "用id查询健康问答-待回答问题表" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /hq/findHealthQuestion [get]
func (*HealthQuestionApi) GetHealthQuestionList ¶
func (hqApi *HealthQuestionApi) GetHealthQuestionList(c *gin.Context)
GetHealthQuestionList 分页获取健康问答-待回答问题表列表 @Tags HealthQuestion @Summary 分页获取健康问答-待回答问题表列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.HealthQuestionSearch true "分页获取健康问答-待回答问题表列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /hq/getHealthQuestionList [get]
func (*HealthQuestionApi) UpdateHealthQuestion ¶
func (hqApi *HealthQuestionApi) UpdateHealthQuestion(c *gin.Context)
UpdateHealthQuestion 更新健康问答-待回答问题表 @Tags HealthQuestion @Summary 更新健康问答-待回答问题表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.HealthQuestion true "更新健康问答-待回答问题表" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /hq/updateHealthQuestion [put]
type PhysiqueApi ¶
type PhysiqueApi struct { }
func (*PhysiqueApi) CreatePhysique ¶
func (physiqueApi *PhysiqueApi) CreatePhysique(c *gin.Context)
CreatePhysique 创建Physique @Tags Physique @Summary 创建Physique @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Physique true "创建Physique" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /physique/createPhysique [post]
func (*PhysiqueApi) DeletePhysique ¶
func (physiqueApi *PhysiqueApi) DeletePhysique(c *gin.Context)
DeletePhysique 删除Physique @Tags Physique @Summary 删除Physique @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Physique true "删除Physique" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /physique/deletePhysique [delete]
func (*PhysiqueApi) DeletePhysiqueByIds ¶
func (physiqueApi *PhysiqueApi) DeletePhysiqueByIds(c *gin.Context)
DeletePhysiqueByIds 批量删除Physique @Tags Physique @Summary 批量删除Physique @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除Physique" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /physique/deletePhysiqueByIds [delete]
func (*PhysiqueApi) FindPhysique ¶
func (physiqueApi *PhysiqueApi) FindPhysique(c *gin.Context)
FindPhysique 用id查询Physique @Tags Physique @Summary 用id查询Physique @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query health.Physique true "用id查询Physique" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /physique/findPhysique [get]
func (*PhysiqueApi) GetPhysiqueGraphic ¶
func (physiqueApi *PhysiqueApi) GetPhysiqueGraphic(c *gin.Context)
func (*PhysiqueApi) GetPhysiqueList ¶
func (physiqueApi *PhysiqueApi) GetPhysiqueList(c *gin.Context)
GetPhysiqueList 分页获取Physique列表 @Tags Physique @Summary 分页获取Physique列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.PhysiqueSearch true "分页获取Physique列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /physique/getPhysiqueList [get]
func (*PhysiqueApi) SetPhysiqueGraphic ¶
func (physiqueApi *PhysiqueApi) SetPhysiqueGraphic(c *gin.Context)
func (*PhysiqueApi) UpdatePhysique ¶
func (physiqueApi *PhysiqueApi) UpdatePhysique(c *gin.Context)
UpdatePhysique 更新Physique @Tags Physique @Summary 更新Physique @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Physique true "更新Physique" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /physique/updatePhysique [put]
type ShipuApi ¶
type ShipuApi struct { }
func (*ShipuApi) CreateShipu ¶
CreateShipu 创建Shipu @Tags Shipu @Summary 创建Shipu @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Shipu true "创建Shipu" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /shipu/createShipu [post]
func (*ShipuApi) DeleteShipu ¶
DeleteShipu 删除Shipu @Tags Shipu @Summary 删除Shipu @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Shipu true "删除Shipu" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /shipu/deleteShipu [delete]
func (*ShipuApi) DeleteShipuByIds ¶
DeleteShipuByIds 批量删除Shipu @Tags Shipu @Summary 批量删除Shipu @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除Shipu" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /shipu/deleteShipuByIds [delete]
func (*ShipuApi) FindShipu ¶
FindShipu 用id查询Shipu @Tags Shipu @Summary 用id查询Shipu @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query health.Shipu true "用id查询Shipu" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /shipu/findShipu [get]
func (*ShipuApi) GetShipuList ¶
GetShipuList 分页获取Shipu列表 @Tags Shipu @Summary 分页获取Shipu列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query healthReq.ShipuSearch true "分页获取Shipu列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /shipu/getShipuList [get]
func (*ShipuApi) UpdateShipu ¶
UpdateShipu 更新Shipu @Tags Shipu @Summary 更新Shipu @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body health.Shipu true "更新Shipu" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /shipu/updateShipu [put]