assess

package
v0.0.0-...-5e8989d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 ApiGroup

type ApiGroup struct {
	AssessApi
}

type AssessApi

type AssessApi struct {
}

func (*AssessApi) GetEfficacyList

func (a *AssessApi) GetEfficacyList(c *gin.Context)

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

func (a *AssessApi) GetLatelyReport(c *gin.Context)

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

func (a *AssessApi) GetPhysiqueQuestion(c *gin.Context)

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

func (a *AssessApi) GetQuestionResult(c *gin.Context)

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

func (a *AssessApi) GetQuestionResultByID(c *gin.Context)

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

func (a *AssessApi) SaveUserEfficacyTag(c *gin.Context)

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

func (a *AssessApi) SubmitPhysiqueQuestion(c *gin.Context)

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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL