MCPcopy Create free account
hub / github.com/TruthHun/DocHub / GetReportReason

Method GetReportReason

models/SysModel.go:95–99  ·  view source on GitHub ↗

根据序号获取举报原因

(num interface{})

Source from the content-addressed store, hash-verified

93
94//根据序号获取举报原因
95func (this *Sys) GetReportReason(num interface{}) (reason string) {
96 reasons := this.GetReportReasons()
97 reason, _ = reasons[fmt.Sprintf("%v", num)]
98 return
99}

Callers

nothing calls this directly

Calls 1

GetReportReasonsMethod · 0.95

Tested by

no test coverage detected