This commit is contained in:
张成
2026-04-01 10:42:33 +08:00
parent 7199c6b5cf
commit 433077f08a
14 changed files with 10 additions and 76 deletions

View File

@@ -34,18 +34,15 @@ module.exports = (db) => {
enabled_features: {
type: Sequelize.JSON,
allowNull: true,
comment: "JSON 功能点白名单",
},
allowed_apis: {
type: Sequelize.JSON,
allowNull: true,
comment: "可访问的接口路径列表,如 [\"/user/GetProfile\",\"/message/SendText\"]null 表示不限制",
},
api_call_quota: {
type: Sequelize.INTEGER,
allowNull: false,
defaultValue: 0,
comment: "每月 API 总调用次数上限0=不限制",
},
status: {
type: Sequelize.ENUM("active", "inactive"),
@@ -57,7 +54,6 @@ module.exports = (db) => {
tableName: "biz_plans",
timestamps: false,
underscored: true,
comment: "套餐",
}
);
// biz_plan.sync({ alter: true });