全量细审修复:部署漏配防清空、scrypt 并发闸、发布冲突可解、价格文件只在改了才写、排位扩容

Browse Source
- cms.py:没设 YS_PORTAL_DIR / YS_ORDER_DIR 或缺 content/site.json 时拒绝工作(不建空的第一版,免得一发布清空网站);
  同时最多 2 个 scrypt(内存上限 256M);登录冷却记录定期清理;价格 / 付款只在这次发布真改了才写回
  (不覆盖 admin.py price 的改动)
- 后台页面:发布冲突二选一(丢掉我的草稿 / 确认后覆盖发布);草稿没存上、还有图在上传时不让发布
- layout.js:中圈排满后分档到外圈空槽之间找位置,40 条世界线也不重叠;去掉慢的 Math.hypot
- config.js:后台把世界线删光也照实显示;门户删掉旧启动仪式留下的死数据;版本号 v=3
- 测试:内容后台 78 / 回归 27 / 数据库 38 全过;端到端浏览器 36 全过
- 文档同步(交接文档、内容后台设计「实现对照」、后端交接说明、交付清单)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yws
2026-10-05 21:55:13 +00:00
co-authored by Claude Opus 5.5
parent 12e66badc6
commit 74bf490baa
12 changed files with 146 additions and 62 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
* ============================================================================= */ * ============================================================================= */
import * as THREE from 'three'; import * as THREE from 'three';
import { makePlanet } from './planets.js?v=2'; import { makePlanet } from './planets.js?v=2';
import { layoutSystems } from './layout.js?v=2'; import { layoutSystems } from './layout.js?v=3';
export function mountGalaxy(el) { export function mountGalaxy(el) {
const CFG = window.JZ_UNIVERSE, G = CFG.GALAXY, C = G.colors; const CFG = window.JZ_UNIVERSE, G = CFG.GALAXY, C = G.colors;