feat: add inspect-shz-logs skill for log inspection and monitoring

- Implemented a new skill to inspect and follow SHZ backend logs with bounded read-only commands.
- Added scripts for viewing local and production logs, including options for following logs.
- Created references for log locations and usage guidelines.

feat: add query-shz-highgo skill for database querying

- Introduced a skill to query the SHZ HighGo database through an SSH gateway using a read-only psql workflow.
- Included scripts for executing SQL queries and schema discovery.
- Added connection details and usage instructions.

feat: add OutdoorFairBooth domain and mapper

- Created OutdoorFairBooth domain model with relevant fields and annotations.
- Implemented a mapper interface for physical deletion of records based on fair ID.

feat: create SQL scripts for cms_outdoor_fair_booth

- Added SQL script to create the cms_outdoor_fair_booth table and its associated sequence.
- Included comments for clarity and compatibility with historical data.
- Added a script to drop the cms_venue_booth table after migration confirmation.
This commit is contained in:
2026-06-25 15:53:01 +08:00
parent 154436b71f
commit c3de38ee82
19 changed files with 665 additions and 210 deletions

View File

@@ -0,0 +1,19 @@
# Log locations
## Local
- Main log: `<project>/.local/logs/backend.log`
- Producer: `<project>/local.sh`
## Production: shz
- SSH: `root@39.98.44.136:6022`
- Application: `/opt/service/project/shz-backend/ruoyi-admin/target/ruoyi-admin.jar`
- Profile: `dev`
- HTTP port: `9091`
- Main process log: `/opt/service/project/shz-backend/logs/backend.log`
- Current error log: `/opt/service/project/shz-backend/logs/sys-error.log`
- Current info log: `/opt/service/project/shz-backend/logs/sys-info.log`
- Current user log: `/opt/service/project/shz-backend/logs/sys-user.log`
Use only the bundled read-only viewer. Rotated files use date suffixes but are intentionally not exposed by the default script.