You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
515 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

"""
项目名称python pyqt5 mysql 学生管理系统
作者bhml
时间2022/11/28
代码功能:存放系统中需要多次使用的全局变量
"""
USER = (1, 'admin', '0', '0', '0')
# 管理模块标识
FLAG_STUDENT = 1 # 学生管理
FLAG_CLASS = 2 # 班级管理
FLAG_ADMIN = 3 # 角色管理
FLAG_GRADE = 4 # 成绩管理
FLAG_INFO = 5 # 修改资料
# 登录窗口
LOGIN_WINDOW = None
# 数据库配置
DB_HOST = 'localhost'
DB_USER = 'root'
DB_PASSWORD = '123456'
DB_NAME = 'db_studentms'