完善基础架构,新增部分问题接口

This commit is contained in:
2022-05-26 00:39:39 +08:00
parent 761c24efbf
commit 326118eefb
16 changed files with 251 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import (
"online_code/common/types"
)
// ProblemCategory 问题分类表
// ProblemCategory 问题分类关联
type ProblemCategory struct {
types.BaseDbModel
ProblemId uint `json:"problem_id" gorm:"column:problem_id;type:int(11);comment:'问题的ID'" ` // 问题的ID