Documentation ¶
Index ¶
- type AssessService
- func (assessService *AssessService) CreatePhysiqueQuestionLog(physiqueQuestionLog *assess.PhysiqueQuestionLog) (err error)
- func (assessService *AssessService) GetPhysique(results map[string]int, birthday time.Time) (userPhysique assess.UserPhysique, err error)
- func (assessService *AssessService) GetPhysiqueQuestionLog(condition map[string]interface{}, fields string) (physiqueQuestionLog assess.PhysiqueQuestionLog, err error)
- func (assessService *AssessService) QuestionConf() (data map[string]string, err error)
- type EfficacyService
- func (efficacyService *EfficacyService) CreateUserEfficacyTag(uet *assess.UserEfficacyTag) (err error)
- func (efficacyService *EfficacyService) GetEfficacyList() (efficacy []assess.Efficacy, err error)
- func (efficacyService *EfficacyService) GetEfficacyTagByUid(id uint) (uet assess.UserEfficacyTag, err error)
- func (efficacyService *EfficacyService) UpdateUserEfficacyTag(id uint, eids string) (err error)
- type KeyValue
- type ServiceGroup
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 ServiceGroup ¶
type ServiceGroup struct { AssessService EfficacyService }
Click to show internal directories.
Click to hide internal directories.