mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-12 01:40:30 +08:00
Initial commit: reorganized source tree
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.) - frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts - scripts/: build, test-env, tools (Docker Compose, service templates, API parity) - docs/: AGENTS.md, superpowers specs, architecture docs - .gitignore: standard Java/Maven exclusions Moved from legacy maven-*/ root layout to backend/ organized structure.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# 11 `maven-ninca-qk-alarm` — 阿里巴巴规范走查(整理版)
|
||||
|
||||
**范围**:仅 **2** 个 Java 文件 — `AlarmApplication.java`、`package-info.java`(排除 `target/`)。
|
||||
|
||||
## 问题清单
|
||||
|
||||
| 序号 | 文件 | 级别 | 说明 | 建议 |
|
||||
|------|------|------|------|------|
|
||||
| 1 | `AlarmApplication.java` | 建议 | `main` 写法非 `SpringApplication.run(Class, args)` 常见形式 | 简化入口 |
|
||||
| 2 | `AlarmApplication.java` | 建议 | `@EnableFeignClients(basePackages={"cn.cloudwalk"})` **范围过大** | 收窄到实际 Feign 包 |
|
||||
| 3 | `AlarmApplication.java` | 提示 | `netflix.feign.EnableFeignClients` | 随 BOM 升级迁移 OpenFeign |
|
||||
| 4 | `package-info.java` | 通过 | 文档说明边界清晰 | — |
|
||||
| 5 | 模块级 | 信息 | 业务风险多在依赖 **web** 等模块 | 扩展审计范围时纳入 |
|
||||
|
||||
## 启发式(与 00 一致)
|
||||
|
||||
未发现 TAB、行尾空白、超长行、`System.out`(本模块 `AlarmApplication` 若仍用 `println` 以 00 脚本为准)、空 catch、FIXME。
|
||||
|
||||
## 小结
|
||||
|
||||
与 **ninca-crk** 类似,为**薄启动壳**;优先处理 **Feign 扫描范围** 与 **main 写法**,并规划 **Spring Cloud** 升级路径。
|
||||
Reference in New Issue
Block a user