北斗启航科技教育平台登录系统

This commit is contained in:
2026-03-27 17:50:18 +08:00
commit bdc25653a4
215 changed files with 5299 additions and 0 deletions

30
app/model/BSide.js Normal file
View File

@@ -0,0 +1,30 @@
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING, DATE } = app.Sequelize;
const BSide = app.model.define('b-side', {
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
uid: CHAR(15),
salt: CHAR(24),
status: INTEGER(3),
role: INTEGER(3),
account_name: STRING(20),
password: CHAR(64),
organization: CHAR(16),
user_name: STRING(20),
phone: CHAR(11),
msg: STRING(300),
created_at: DATE,
updated_at: DATE,
login_at: DATE,
login_status: INTEGER(3)
},{
freezeTableName: true,
timestamp: true,
createdAt: true,
updatedAt: true,
});
return BSide;
};

22
app/model/BSubscribe.js Normal file
View File

@@ -0,0 +1,22 @@
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, DATE } = app.Sequelize;
const BSubscribe = app.model.define('bsubscribe', {
id: { type: INTEGER(11), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
business: INTEGER(3),
status: INTEGER(3),
type: INTEGER(3),
created_at: DATE,
updated_at: DATE,
},{
freezeTableName: true,
timestamp: true,
createdAt: true,
updatedAt: true,
});
return BSubscribe;
};