feat:根证书导入增加校验

This commit is contained in:
waner
2026-05-28 10:11:04 +08:00
parent cae94149cb
commit f06c675f9b
8 changed files with 324 additions and 71 deletions
@@ -77,6 +77,9 @@ SET password_salt = 'a6bea7601138e90a540b39c73d53df81',
WHERE role_code = 'OPS_ADMIN'
AND uid = 1;
ALTER TABLE tms_auth_full_account
DROP COLUMN password_hash;
-- 如果这里失败,说明旧库中存在不属于上述固定席位的认证账号,需要先明确其迁移策略。
ALTER TABLE tms_auth_full_account
MODIFY COLUMN password_digest VARCHAR(64) NOT NULL COMMENT '口令静态摘要:SM3(password_salt + 原始口令)';