(#22)(#56) Add student info data ware.

This commit is contained in:
2022-01-25 17:11:29 +08:00
parent b2854908a4
commit afae6b7903
2 changed files with 81 additions and 6 deletions
+75
View File
@@ -0,0 +1,75 @@
import { Data } from "../core/Data";
/**
* 登录状态
*/
enum LoginStatus {
}
/**
* 学生信息数据结构
*/
type IStudentInfoData = {
/**
* 学号
*/
studentId: {
type: string,
};
/**
* 教务处密码
*/
password: {
type: string
};
/**
* 身份证后六位
* 用于尝试水卡登录
*/
idCardLast6: {
type: string
};
/**
* 使用的教务处链接
*/
eduService: {
type: string
};
/**
* 用户的真实姓名
*/
actualName: {
type: string
};
/**
* 用户是否关注了公共号
*/
isSubscribeWxAccount: {
type: boolean
};
/**
* 教务处的 session
*/
eduSession: {
type: string
};
}
/**
* 学生信息
*/
class StudentInfo extends Data<IStudentInfoData> {
public override onLoad() {
}
}