Documentation ¶
Index ¶
- Variables
- type ApiGroup
- type AssessApi
- func (a *AssessApi) GetEfficacyList(c *gin.Context)
- func (a *AssessApi) GetLatelyReport(c *gin.Context)
- func (a *AssessApi) GetPhysiqueQuestion(c *gin.Context)
- func (a *AssessApi) GetQuestionResult(c *gin.Context)
- func (a *AssessApi) GetQuestionResultByID(c *gin.Context)
- func (a *AssessApi) SaveUserEfficacyTag(c *gin.Context)
- func (a *AssessApi) SubmitPhysiqueQuestion(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
var ( AssessService = service.ServiceGroupApp.AssessServiceGroup.AssessService EfficacyService = service.ServiceGroupApp.AssessServiceGroup.EfficacyService UserService = service.ServiceGroupApp.UserServiceGroup.UserService PhysiqueService = service.ServiceGroupApp.HealthServiceGroup.PhysiqueService )
Functions ¶
This section is empty.
Types ¶
type AssessApi ¶
type AssessApi struct { }
func (*AssessApi) GetEfficacyList ¶
GetEfficacyList 获取功效列表 @Tags Assess @Summary 获取功效列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query user.User true "获取功效列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /api/assess/getEfficacyList [get]
func (*AssessApi) GetLatelyReport ¶
GetLatelyReport 查询最近报告 @Tags Assess @Summary 查询最近报告 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query user.User true "查询最近报告" @Success 200 {string} string "{"success":true,"data":{},"msg":"提交成功"}" @Router /api/assess/getLatelyReport [get]
func (*AssessApi) GetPhysiqueQuestion ¶
GetPhysiqueQuestion 获取体质问卷 @Tags Assess @Summary 获取体质辨别页面 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query user.User true "获取体质辨别页面" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /api/assess/getPhysiqueDiscernPage [get]
func (*AssessApi) GetQuestionResult ¶
GetQuestionResult 获取问卷结果 @Tags Assess @Summary 用id查询用户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query user.User true "提交体质问卷" @Success 200 {string} string "{"success":true,"data":{},"msg":"提交成功"}" @Router /api/assess/getQuestionResult [get]
func (*AssessApi) GetQuestionResultByID ¶
GetQuestionResultByID 根据用户ID获取问卷结果 @Tags Assess @Summary 根据用户ID获取问卷结果 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query user.User true "根据用户ID获取问卷结果" @Success 200 {string} string "{"success":true,"data":{},"msg":"提交成功"}" @Router /api/assess/getQuestionResultByID [get]
func (*AssessApi) SaveUserEfficacyTag ¶
SaveUserEfficacyTag 保存用户功效标签 @Tags Assess @Summary 提交用户功效标签 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query user.User true "保存用户功效标签" @Success 200 {string} string "{"success":true,"data":{},"msg":"保存成功"}" @Router /api/assess/submitUserEfficacyTag [post]
func (*AssessApi) SubmitPhysiqueQuestion ¶
SubmitPhysiqueQuestion 提交体质问卷 @Tags Assess @Summary 用id查询用户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query user.User true "提交体质问卷" @Success 200 {string} string "{"success":true,"data":{},"msg":"提交成功"}" @Router /api/assess/submitPhysiqueQuestion [post]