assess

package
v0.0.0-...-a5c0f30 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssessService

type AssessService struct{}

func (*AssessService) CreatePhysiqueQuestionLog

func (assessService *AssessService) CreatePhysiqueQuestionLog(physiqueQuestionLog *assess.PhysiqueQuestionLog) (err error)

CreatePhysiqueQuestionLog 创建体质检测记录

func (*AssessService) GetPhysique

func (assessService *AssessService) GetPhysique(results map[string]int, birthday time.Time) (userPhysique assess.UserPhysique, err error)

GetPhysique 计算用户体质信息

func (*AssessService) GetPhysiqueQuestionLog

func (assessService *AssessService) GetPhysiqueQuestionLog(condition map[string]interface{}, fields string) (physiqueQuestionLog assess.PhysiqueQuestionLog, err error)

GetPhysiqueQuestionLog 获取体质检测记录

func (*AssessService) QuestionConf

func (assessService *AssessService) QuestionConf() (data map[string]string, err error)

QuestionConf 获取所有问题

type EfficacyService

type EfficacyService struct{}

func (*EfficacyService) CreateUserEfficacyTag

func (efficacyService *EfficacyService) CreateUserEfficacyTag(uet *assess.UserEfficacyTag) (err error)

CreateUserEfficacyTag 创建用户功效标签

func (*EfficacyService) GetEfficacyList

func (efficacyService *EfficacyService) GetEfficacyList() (efficacy []assess.Efficacy, err error)

GetEfficacyList 获取功效列表

func (*EfficacyService) GetEfficacyTagByUid

func (efficacyService *EfficacyService) GetEfficacyTagByUid(id uint) (uet assess.UserEfficacyTag, err error)

GetEfficacyTagByUid 获取用户功效标签

func (*EfficacyService) UpdateUserEfficacyTag

func (efficacyService *EfficacyService) UpdateUserEfficacyTag(id uint, eids string) (err error)

UpdateUserEfficacyTag 更新用户功效标签

type KeyValue

type KeyValue struct {
	Key   string
	Value int
}

type ServiceGroup

type ServiceGroup struct {
	AssessService
	EfficacyService
}

Jump to

Keyboard shortcuts

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