Documentation
¶
Index ¶
- func AiAnalyzeClass(c *gin.Context)
- func AiAnalyzeStudent(c *gin.Context)
- func AnalyzeExam(c *gin.Context)
- func AnalyzeStudent(c *gin.Context)
- func Chat(c *gin.Context)
- func CreatProblem(c *gin.Context)
- func CreateClass(c *gin.Context)
- func CreateExam(c *gin.Context)
- func DeleteClass(c *gin.Context)
- func DeleteExam(c *gin.Context)
- func DeleteStudent(c *gin.Context)
- func Email2Login(c *gin.Context)
- func ForgetPassword(c *gin.Context)
- func GetPPTProgress(c *gin.Context)
- func GetPPtTemplates(c *gin.Context)
- func GetRank(c *gin.Context)
- func GetRecommmend(c *gin.Context)
- func GetResource(c *gin.Context)
- func ImportStudents(c *gin.Context)
- func ListClasses(c *gin.Context)
- func ListExam(c *gin.Context)
- func ListScore(c *gin.Context)
- func ListStudents(c *gin.Context)
- func Login(c *gin.Context)
- func PicGenerate(c *gin.Context)
- func PptGenerate(c *gin.Context)
- func Rag4Msg(c *gin.Context)
- func Rag4Plan(c *gin.Context)
- func Rag4Stu(c *gin.Context)
- func Register(c *gin.Context)
- func ResetPassword(c *gin.Context)
- func SearchResources(c *gin.Context)
- func SendCode(c *gin.Context)
- func UploadScore(c *gin.Context)
- func VerifyCode(c *gin.Context)
- type AuthClaims
- type ProblemDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AiAnalyzeClass ¶
func AiAnalyzeStudent ¶
func AnalyzeExam ¶
func AnalyzeStudent ¶
func CreatProblem ¶
func CreateExam ¶
func DeleteExam ¶
func DeleteStudent ¶
func Email2Login ¶
Email2Login 处理用户通过邮箱和验证码登录的请求。 验证成功后返回 JWT Token。
func GetPPTProgress ¶
func GetPPtTemplates ¶
func GetResource ¶
func ListStudents ¶
func PicGenerate ¶
func PptGenerate ¶
func Rag4Stu ¶
Rag4Stu 处理针对特定学生的 RAG 推荐请求 它首先检查 Redis 缓存,如果未命中,则获取学生分析数据, 调用 RAG 服务生成推荐,将结果存入 Redis 缓存,并返回给客户端。
func SearchResources ¶
func UploadScore ¶
Types ¶
type AuthClaims ¶
type AuthClaims struct { UserID uint64 `json:"user_id"` jwt.RegisteredClaims }
AuthClaims 定义了 JWT 的自定义 Claims,包含用户 ID。
Click to show internal directories.
Click to hide internal directories.