feat(admin): implement P4 management console

This commit is contained in:
xqzp2026
2026-09-03 18:01:00 +09:30
parent 691b3a3713
commit b1dd68a14c
27 changed files with 3236 additions and 5 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ CREATE TABLE IF NOT EXISTS audit_log (
CREATE TABLE IF NOT EXISTS admin_user (
id BIGINT NOT NULL AUTO_INCREMENT COMMENT '主键',
account VARCHAR(64) NOT NULL COMMENT '登录账号',
password_hash CHAR(64) NOT NULL COMMENT '密码 SHA-256 hex',
password_hash VARCHAR(255) NOT NULL COMMENT 'PBKDF2 加盐密码哈希',
name VARCHAR(64) NULL COMMENT '姓名',
status TINYINT NOT NULL DEFAULT 1 COMMENT '1=正常 0=禁用',
create_id BIGINT NULL COMMENT '创建人',