修改管理后台

This commit is contained in:
shenquanyi
2025-09-12 20:08:42 +08:00
parent 39d61c6f9b
commit 80a24c2d60
286 changed files with 75316 additions and 9452 deletions

View File

@@ -121,15 +121,7 @@ Order.init({
allowNull: false,
defaultValue: 'pending'
},
payment_status: {
type: DataTypes.ENUM('unpaid', 'paid', 'refunded'),
allowNull: false,
defaultValue: 'unpaid'
},
shipping_address: {
type: DataTypes.TEXT,
allowNull: true
}
}, {
sequelize,
tableName: 'orders',