feat: 重构用户角色系统为管理员标识

- 将用户角色字段从role改为is_admin布尔值
- 更新相关API权限检查逻辑
- 修改数据库schema和迁移文件
- 调整前端用户显示逻辑
- 添加API响应工具函数
- 优化权限检查中间件
- 重构英雄组件为原子组件
This commit is contained in:
张翔
2026-03-12 20:45:43 +08:00
parent b207bfa7af
commit f357330ba8
22 changed files with 1078 additions and 552 deletions
+20
View File
@@ -0,0 +1,20 @@
export { DataParticleFlow } from './data-particle-flow';
export { SubtleDots } from './subtle-dots';
export { SubtleParticles } from './subtle-particles';
export { ParticleGalaxy } from './particle-galaxy';
export { MouseInteractiveParticles } from './mouse-interactive-particles';
export { GradientFlow } from './gradient-flow';
export { GradientAnimation } from './gradient-animation';
export { GradientOrbs } from './gradient-orbs';
export { GradientGrid } from './gradient-grid';
export { TechGridFlow } from './tech-grid-flow';
export { MeshGradient } from './mesh-gradient';
export { InkTechFusion } from './ink-tech-fusion';
export { GridLines } from './grid-lines';
export { GlowEffect } from './glow-effect';
export { GeometricShapes } from './geometric-shapes';
export { GeometricAbstract } from './geometric-abstract';
export { FluidWaveBackground } from './fluid-wave-background';
export { AdvancedFloatingEffects } from './advanced-floating-effects';
export { ParallaxEffect } from './parallax-effect';
export { SealAnimationEnhanced } from './seal-animation-enhanced';