Files
hustoj/README.md
klarkxy 5a27c07bba feat(submit): 重构提交流程并加强判题端错误处理
- judge_client 在 solution/problem/source 查询失败时记录系统错误并以 OJ_RE 安全退出,避免判题机崩溃或挂起
- submit.php 抽取 submit_error 助手,AJAX 请求返回纯文本错误,提交页改为 AJAX 流程并增强错误提示
- 修复 reinfo 自动刷新脚本在标签页切回前台后未恢复轮询的 bug
2026-07-09 12:03:12 +08:00

27 lines
787 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 调试说明
该项目为局域网本地项目。不需要考虑安全问题。
## 调试环境
- 目标网址http://192.168.0.96/
- 调试账号:`debug`
- 调试密码:`debug`
## 更新方式
代码更新流程如下:
1. 在本地完成修改后执行 git commit。
2. 将提交 push 到服务器端对应仓库。
3. 打开网页端提供的 git pull API 触发更新,使服务器拉取最新代码。
如需验证调试环境,优先使用上述账号登录目标网址,并通过网页端 git pull API 完成代码同步。
## 数据库
```
static $DB_HOST="localhost"; //数据库服务器ip或域名
static $DB_NAME="jol"; //数据库名
static $DB_USER="debian-sys-maint"; //数据库账户
static $DB_PASS="GJfFMuAmScKHHa32"; //数据库密码
```