sqlite-web 0.7.2
gitea.db
issue
Create
Query
access
access_token
action
action_artifact
action_run
action_run_index
action_run_job
action_runner
action_runner_token
action_schedule
action_schedule_spec
action_task
action_task_output
action_task_step
action_tasks_version
action_variable
app_state
attachment
auth_token
badge
branch
collaboration
comment
commit_status
commit_status_index
commit_status_summary
commit_sync_log
commit_sync_status
dbfs_data
dbfs_meta
deploy_key
email_address
email_hash
external_login_user
follow
gpg_key
gpg_key_import
hook_task
issue
issue_assignees
issue_content_history
issue_dependency
issue_index
issue_label
issue_pin
issue_user
issue_watch
label
language_stat
lfs_lock
lfs_meta_object
login_source
milestone
mirror
notice
notification
oauth2_application
oauth2_authorization_code
oauth2_grant
org_user
package
package_blob
package_blob_upload
package_cleanup_rule
package_file
package_property
package_version
project
project_board
project_issue
protected_branch
protected_tag
public_key
pull_auto_merge
pull_request
push_mirror
reaction
release
renamed_branch
repo_archiver
repo_hidden_file
repo_indexer_status
repo_license
repo_redirect
repo_topic
repo_transfer
repo_unit
repository
review
review_state
secret
session
sqlite_sequence
star
stopwatch
system_setting
task
team
team_invite
team_repo
team_unit
team_user
topic
tracked_time
two_factor
upload
user
user_badge
user_blocking
user_open_id
user_redirect
user_setting
version
watch
webauthn_credential
webhook
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Update row 33 in issue
id
Primary key.
INTEGER NOT NULL
repo_id
INTEGER
index
INTEGER
poster_id
INTEGER
original_author
TEXT
original_author_id
INTEGER
name
🔍 代码审查报告:pc-260331 分支 - 测试推送111
TEXT
content
## 自动代码审查报告 **分支**: pc-260331 **提交**: `68ea23a9a54e92efdfd1993101f91b05ff962fd9` **时间**: 2026-03-24 18:50:30 **审查模型**: qwen3.5-plus --- [2026-03-24 18:49:17] 正在调用 Qwen API 进行代码审查... [2026-03-24 18:50:30] 审查结果已保存到:/root/gitea-code-review/logs/results/code-review-20260324-184917.md ### alilog.php 中的引用: 1. **外部文件依赖**: * **阿里云日志服务 SDK**: 文件通过 `require_once` 引入了外部路径的 SDK 自动加载文件。 * 路径:`/mnt/data/www/CommonClass/aliyun-log-php-sdk-master/Log_Autoload.php` * 说明:该文件不属于当前提供的 `application/` 项目结构,属于服务器本地公共类库。 2. **依赖的类 (SDK 类)**: 代码中实例化或捕获异常用到了以下阿里云 SDK 定义的类: * `Aliyun_Log_Client` (客户端主类) * `Aliyun_Log_Exception` (异常处理) * `Aliyun_Log_Models_LogItem` (日志项模型) * `Aliyun_Log_Models_PutLogsRequest` (写入日志请求) * `Aliyun_Log_Models_ListLogstoresRequest` (列举 Logstore 请求) * `Aliyun_Log_Models_ListTopicsRequest` (列举 Topic 请求) * `Aliyun_Log_Models_GetLogsRequest` (查询日志请求) * `Aliyun_Log_Models_LogStoreSqlRequest` (Logstore SQL 请求) * `Aliyun_Log_Models_GetProjectLogsRequest` (Project 日志请求) * `Aliyun_Log_Models_ProjectSqlRequest` (Project SQL 请求) * `Aliyun_Log_Models_GetHistogramsRequest` (直方图请求) * `Aliyun_Log_Models_ListShardsRequest` (列举 Shard 请求) * `Aliyun_Log_Models_GetCursorRequest` (获取 Cursor 请求) * `Aliyun_Log_Models_BatchGetLogsRequest` (批量获取日志请求) * `Aliyun_Log_Models_MergeShardsRequest` (合并 Shard 请求) * `Aliyun_Log_Models_SplitShardRequest` (分裂 Shard 请求) 3. **内部项目依赖**: * **无**。该文件未引用当前项目结构 `application/` 下的任何配置文件(如 `config.php`, `database.php`)、控制器或模型。 * 它是一个独立的脚本文件,硬编码了配置信息。 4. **代码异常与安全风险提示**: * **语法/执行错误**: 第 6 行存在 `exitsss;`。这不是标准的 PHP 语句(应为 `exit;` 或 `die;`)。如果该文件被直接访问,加载 SDK 后会因调用未定义的函数 `exitsss()` 而报错终止,导致文件底部的执行逻辑(实例化 Client 并调用 `putLogs`)无法运行。 * **敏感信息泄露**: 文件中硬编码了阿里云的 `accessKeyId` 和 `accessKey` (第 336-337 行)。这属于高危安全风险,密钥不应直接提交到代码库中,建议移至配置文件或环境变量中。 * **硬编码配置**: `$endpoint`, `$project`, `$logstore` 等配置均写死在文件中,缺乏灵活性。 --- *此 Issue 由代码审查服务自动创建 | 审查基于提交时的代码快照*
TEXT
milestone_id
INTEGER
priority
INTEGER
is_closed
INTEGER
is_pull
INTEGER
num_comments
INTEGER
ref
TEXT
deadline_unix
INTEGER
created_unix
INTEGER
updated_unix
INTEGER
closed_unix
INTEGER
is_locked
INTEGER NOT NULL (default 0
content_version
INTEGER NOT NULL (default 0
time_estimate
INTEGER NOT NULL (default 0
Update
Cancel