func (rc *TestReflectController) SessionParams(session lvs.HttpSession, params struct { Name string Pwd string }) interface{} { if 0 == len(params.Name) || 0 == len(params.Pwd) { return "" } return session.UID() }
func (rc *TestReflectController) Session(session lvs.HttpSession) interface{} { return session.UID() }