package controller import ( "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/net/ghttp" "jybxseo/internal/service" "jybxseo/utility" ) func BiddingDetail(r *ghttp.Request) { isLogin := utility.JySessionLoginEd(r) seoId := r.Get("seoId").String() if seoId == "" { utility.HtmlRender.NotFound(r) return } detail := service.JyBxSeoDetailRoot.GetDetail(seoId, isLogin) utility.HtmlRender.Render(r, utility.GetCommonRenderPatch(r.Request.UserAgent(), "detail.html"), g.Map{ "detail": detail, //"tdk": service.JySeoTdk.GetAreaIndexTdk(r.Context(), node.Name), }) }