fix: Correct hidden imports in backend build.py

- Change app.auth to app.routers.auth (correct path)
- Change app.routers.dify to app.routers.ai (actual module name)
- Change app.routers.excel to app.routers.export (actual module name)
- Remove app.routers.health (doesn't exist)
- Add app.models and app.models.schemas

Also add database credentials to config.json for embedded mode.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
egg
2025-12-17 10:33:47 +08:00
parent 58f379bc0c
commit c9dc5839db
2 changed files with 11 additions and 11 deletions

View File

@@ -14,19 +14,19 @@
"database": {
"host": "mysql.theaken.com",
"port": 33306,
"user": "",
"password": "",
"database": ""
"user": "A060",
"password": "WLeSCi0yhtc7",
"database": "db_A060"
},
"externalApis": {
"authApiUrl": "https://pj-auth-api.vercel.app/api/auth/login",
"difyApiUrl": "https://dify.theaken.com/v1",
"difyApiKey": "",
"difySttApiKey": ""
"difyApiKey": "app-oFptWFRlSgvwhJ8DzZKN08a0",
"difySttApiKey": "app-xQeSipaQecs0cuKeLvYDaRsu"
},
"auth": {
"adminEmail": "",
"jwtSecret": "",
"adminEmail": "ymirliu@panjit.com.tw",
"jwtSecret": "your_jwt_secret_here",
"jwtExpireHours": 24
}
}