package sidebar import ( "context" "fmt" "time" "go-common/app/interface/main/app-resource/conf" "go-common/app/interface/main/app-resource/model/sidebar" xsql "go-common/library/database/sql" "go-common/library/log" ) const ( _initSidebarKey = "sidebar_%d_%d" _selSideSQL = `SELECT s.id,s.plat,s.module,s.name,s.logo,s.logo_white,s.param,s.rank,l.build,l.conditions,s.tip FROM sidebar AS s,sidebar_limit AS l WHERE s.state=1 AND s.id=l.s_id AND s.online_time