-
Couldn't load subscription status.
- Fork 7
Open
Description
eg:
type ReportStatus int
type DotCrawlInfo struct {
ReportStatus entity.ReportStatus `jsd:"report_status"`
WebsiteStatus entity.ReportStatus `jsd:"website_status"`
}在jsd中反射出来的时候提示错误
infos = []*model.DotCrawlInfo{}
db := gsd.MustOpen(_TABLE_SQL_SITE_RECORD)
err = db.Select( _ColReportStatus, _ColWebsiteStatus).From(_Table).
Where(filter).
Page(PI.PageIndex, PI.PageSize).Fill(&infos)
if err != nil {
fmt.Println("Error:", err.Error())
}
return提示类型无法反射无法从tinyiint(4) -> type ReportStatus int
这种如何解决~~
Metadata
Metadata
Assignees
Labels
No labels