修改请求体

This commit is contained in:
2026-09-23 17:58:27 +08:00
parent 2807c30683
commit c1deb9f545
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from core.database import Base # 从core软件包下的database模块导入B
from sqlalchemy.dialects.mysql import TINYINT
class Classes( Base ): # 在python里的名字
__tablename__ = 'class_info_detail' # 在数据库中表的名字
__tablename__ = 'class_info_detail' # 在数据库中表的名字
#————创建班级"主键"的字段名————
id = Column( Integer # 声明字段的数据类型是"整数"
, primary_key = True # 声明是"主键"