=== 投票功能测试 ===
1. 检查数据库连接...
✓ 数据库连接成功
2. 检查voting_status表结构...
✓ 表存在,列结构如下:
- id (int(11))
- enabled (tinyint(1))
- display (tinyint(1))
- current_round (int(11))
- topic (varchar(255))
- created_at (timestamp)
3. 检查voting_status表数据...
✓ 表中有数据,最新5条记录:
ID: 105, Enabled: 0, Display: 0, Round: 23, Topic:
ID: 104, Enabled: 1, Display: 0, Round: 22, Topic: 第一轮投票
ID: 103, Enabled: 0, Display: 0, Round: 22, Topic:
ID: 102, Enabled: 1, Display: 0, Round: 21, Topic: 第二轮
ID: 101, Enabled: 1, Display: 1, Round: 21, Topic: 第二轮
4. 测试setVotingDisplay接口...
请求URL: http://localhost/back/c21/setVotingDisplay.php
请求数据: {"display":true}
响应:
IIS 10.0 详细错误 - 404.0 - Not Found
HTTP 错误 404.0 - Not Found
您要找的资源已被删除、已更名或暂时不可用。
5. 测试getVotingStatistics接口...
请求URL: http://localhost/back/c21/getVotingStatistics.php
响应:
IIS 10.0 详细错误 - 404.0 - Not Found
HTTP 错误 404.0 - Not Found
您要找的资源已被删除、已更名或暂时不可用。
=== 测试结束 ===