Compare commits

...

83 Commits

Author SHA1 Message Date
shanshanzhong147 544cfb5c99 Merge branch 'old' into main
Build docker and publish / build (20.15.1) (push) Has been cancelled
2025-12-28 17:27:43 -08:00
shanshanzhong147 f26babaa6f feat: 更新配置文件和模型以支持服务器相关功能
修改MySQL和Redis配置为本地开发环境
在Subscribe类型和模型中添加服务器相关字段
在InviteConfig中添加新配置项
启用ServerModel并修复数据库迁移错误处理
删除无用的运行配置文件
2025-12-28 17:08:24 -08:00
shanshanzhong147 49d59eccb0 Merge old/master into main, resolving conflicts by preferring old in workflows and removing deprecated adapter files
Build docker and publish / build (20.15.1) (push) Has been cancelled
2025-12-28 15:56:07 -08:00
shanshanzhong147 c07c58aa16 x 2025-09-30 07:52:54 -07:00
shanshanzhong147 b650b1a108 tg
Build docker and publish / build (20.15.1) (push) Successful in 6m13s
2025-09-29 17:45:09 -07:00
shanshanzhong147 efc5be5142 maindev
Build docker and publish / build (20.15.1) (push) Failing after 6m30s
2025-09-29 17:32:10 -07:00
shanshanzhong147 5c43bd7a3d init
Build docker and publish / build (20.15.1) (push) Failing after 9m55s
2025-09-27 10:52:39 -07:00
shanshanzhong147 30bbb33129 init
Build docker and publish / build (20.15.1) (push) Failing after 6m3s
2025-09-26 21:49:16 -07:00
shanshanzhong147 66e753e69b x
Build docker and publish / build (20.15.1) (push) Failing after 6m2s
2025-09-26 21:04:11 -07:00
shanshanzhong147 93fcaace26 x
Build docker and publish / build (20.15.1) (push) Failing after 5m51s
2025-09-26 20:12:09 -07:00
shanshanzhong147 97bb873bb8 x
Build docker and publish / build (20.15.1) (push) Failing after 5m41s
2025-09-26 19:46:56 -07:00
shanshanzhong147 723ceddc3d x
Build docker and publish / build (20.15.1) (push) Failing after 5m24s
2025-09-26 19:34:49 -07:00
shanshanzhong147 be532bec1b x
Build docker and publish / build (20.15.1) (push) Failing after 5m23s
2025-09-26 19:25:47 -07:00
shanshanzhong147 e788693713 x
Build docker and publish / build (20.15.1) (push) Failing after 5m33s
2025-09-26 19:16:32 -07:00
shanshanzhong147 aaa6cb149c x
Build docker and publish / build (20.15.1) (push) Failing after 10m26s
2025-09-26 19:05:02 -07:00
shanshanzhong147 6a146f0898 x
Build docker and publish / build (20.15.1) (push) Failing after 1m1s
2025-09-26 19:00:51 -07:00
shanshanzhong147 b9b0dc3bda x
Build docker and publish / build (20.15.1) (push) Failing after 14s
2025-09-26 18:57:19 -07:00
shanshanzhong147 4d39fd1b84 i1
Build docker and publish / build (20.15.1) (push) Failing after 7s
2025-09-26 18:43:33 -07:00
shanshanzhong147 bcf81ab683 i1
Build docker and publish / build (push) Failing after 19s
2025-09-26 18:42:35 -07:00
shanshanzhong147 7471fd8e3d ci
Build docker and publish / linux (1.24.3) (push) Has been cancelled
2025-09-26 18:37:43 -07:00
shanshanzhong147 ac3bbaf7bf feat(ticket): 添加issue_type字段支持工单分类
在工单系统中新增issue_type字段用于区分工单类型(0-普通工单,1-提现工单)
修改相关API、模型和逻辑以支持该字段的创建、查询和筛选
2025-09-15 01:42:44 -07:00
shanshanzhong147 2d4bfe0330 remark 2025-09-14 23:41:00 -07:00
shanshanzhong147 602ecc31bc feat(proxy): 新增混合模式和中继直连模式支持
添加 RelayModeMixed、RelayModeAllDirect 和 RelayModeRandomDirect 三种中继模式
修复 README.md 中的拼写错误
更新 JWT 密钥和日志模式配置
优化流量日志查询排序
统一邮件验证码主题格式
2025-09-01 02:22:16 -07:00
shanshanzhong147 b16ac2cb9b feat(用户): 添加用户余额日志分页查询功能
修复AnyTLSUri端口使用错误问题
添加订阅列表排序功能
更新.gitignore移除日志文件忽略
完善流量通知模板变量
2025-08-27 08:15:31 -07:00
shanshanzhong147 41423ca666 fix: 修复订阅列表查询逻辑并更新Dockerfile配置
修复订阅列表查询中服务器组为空时的处理逻辑,避免潜在错误
在getSubscribeListLogic.go中添加服务器数量统计功能
更新Dockerfile添加logs目录拷贝
清理ppanel.yaml配置文件中的合并冲突和冗余配置
2025-08-17 04:28:32 -07:00
shanshanzhong147 e898e6afbe init 2025-08-12 07:52:04 -07:00
shanshanzhong147 2e01ba0e3d ci(docker): 更新Docker工作流和配置
清理Go模块缓存并移除go.sum文件
更新Docker网络名称和数据库连接配置
2025-08-10 00:28:32 -07:00
shanshanzhong147 25db7ea428 chore(deploy): 更新GITEA_RUNNER_NAME为ubuntu-latest 2025-08-09 08:32:09 -07:00
shanshanzhong147 e37ad50410 ci: 将linux作业的运行环境从vpn改为ubuntu-latest 2025-08-09 08:17:36 -07:00
shanshanzhong147 c503e06c9c ci(workflow): 将linux作业的运行环境改为vpn
避免使用公共runner以提高构建安全性
2025-08-09 08:00:12 -07:00
shanshanzhong147 0992c2ad7b ci(docker): 更新Docker工作流以包含构建步骤
添加checkout步骤并使用环境变量进行认证
包含构建Linux可执行文件的步骤
2025-08-09 07:18:58 -07:00
shanshanzhong147 e78b93d6fb ci: 移除不必要的检出步骤 2025-08-09 07:13:25 -07:00
shanshanzhong147 79020ccea0 1 2025-08-09 06:55:11 -07:00
shanshanzhong147 8a8ece76b1 ci: 将Linux构建任务运行环境从vpn改为ubuntu-latest 2025-08-09 06:26:21 -07:00
shanshanzhong147 0316345e9f ci: 将linux job的运行环境从vpn-runner改为vpn 2025-08-09 06:25:23 -07:00
shanshanzhong147 b56b1240f3 ci(workflow): 将linux job的运行环境改为vpn-runner并移除build-linux步骤 2025-08-09 06:23:30 -07:00
shanshanzhong147 77b3af8015 init 2025-08-09 05:18:44 -07:00
shanshanzhong147 634f43d644 fix: 更新MySQL和Redis的连接地址为具体IP
将MySQL和Redis的连接地址从服务名称改为具体IP地址,以便在特定网络环境下能够正确连接
2025-08-05 10:37:47 -07:00
shanshanzhong147 e5b4dc75d7 fix(deploy): 更新docker-compose配置和数据库连接地址
- 在docker-compose中添加时区环境变量
- 将MySQL和Redis连接地址从localhost改为服务名
- 更新Makefile中的docker compose命令语法
2025-08-05 10:12:29 -07:00
shanshanzhong147 40b8c07036 chore: 在docker-run命令中添加当前工作目录打印 2025-08-05 10:00:07 -07:00
shanshanzhong147 b261ddeeb1 ci(docker): 更新Docker工作流,添加构建步骤并注释发布步骤
添加应用构建步骤以确保镜像包含最新代码
暂时注释发布步骤以进行本地测试
2025-08-05 09:52:27 -07:00
shanshanzhong147 62f07b7f6b ci(docker): 移除构建应用的步骤并修复docker-compose命令
移除docker.yml中冗余的go mod tidy和build-linux步骤,这些步骤已在其他流程中处理
将docker compose命令改为docker-compose以兼容旧版本
2025-08-05 09:46:27 -07:00
shanshanzhong147 31a2aa0e84 ci(workflow): 优化Docker工作流配置并简化步骤
- 添加DOMAIN环境变量以替代硬编码的域名
- 简化git克隆流程,使用凭证存储提高安全性
- 移除不必要的SSH文件复制步骤
- 添加构建和发布Docker镜像的详细日志输出
2025-08-05 09:24:13 -07:00
shanshanzhong147 7965c33790 ci(docker): 更新Gitea工作流以使用容器化构建环境
将Linux作业改为在golang容器中运行,简化Go环境设置步骤
移除不必要的SSH步骤,优化构建流程
2025-08-05 09:22:37 -07:00
shanshanzhong147 fcae874fd2 ci: 移除不再需要的Node.js安装步骤 2025-08-05 09:20:50 -07:00
shanshanzhong147 dad83339c1 ci(docker): 更新Gitea工作流配置并优化构建步骤
- 使用标准actions/checkout@v4替代自定义checkout
- 添加Go环境设置步骤并启用缓存
- 优化SSH action使用标准appleboy/ssh-action
- 调整工作空间路径变量为github标准
2025-08-05 09:18:32 -07:00
shanshanzhong147 84842ec3dd ci(docker): 添加 Node.js 设置步骤以支持前端构建 2025-08-05 09:16:06 -07:00
shanshanzhong147 59bc008b69 ci(docker): 更新SSH action的版本引用
使用明确的版本号v1替代隐式引用,提高工作流的稳定性
2025-08-05 09:13:06 -07:00
shanshanzhong147 8cb58ad91f ci(docker): 更新Gitea Actions checkout步骤使用v1版本
修复checkout步骤未指定版本的问题,确保构建稳定性
2025-08-05 09:12:16 -07:00
shanshanzhong147 7372302618 ci(docker): 移除actions引用中的main分支后缀 2025-08-05 09:10:44 -07:00
shanshanzhong147 cbf5a2b450 1 2025-08-05 09:09:02 -07:00
shanshanzhong147 33f450cdbc init 2025-08-05 08:47:18 -07:00
shanshanzhong147 bce4c4e56e ci(workflow): 更新Gitea工作流使用内部actions
使用内部认证的actions替换公开actions以增强安全性
2025-08-05 08:22:04 -07:00
shanshanzhong147 b6cbcb3040 ci: 移除不必要的Node.js设置和检出步骤 2025-08-05 08:09:59 -07:00
shanshanzhong147 fdbe3c75ee ci(workflow): 添加Node.js环境并降级checkout action版本
添加Node.js环境设置步骤以满足构建需求
将actions/checkout从v4降级至v3以解决兼容性问题
2025-08-05 08:08:36 -07:00
shanshanzhong147 bf13c56261 ci: 更新Gitea工作流中使用GitHub官方actions
将自定义的actions地址替换为GitHub官方actions,提高工作流的稳定性和可维护性
2025-08-05 08:05:21 -07:00
shanshanzhong147 85343f3f82 fix(deploy): 修正GITEA_RUNNER_NAME变量值为vpn-runner 2025-08-05 08:01:25 -07:00
shanshanzhong147 51b493a10d ci(workflow): 将linux作业的运行环境从ubuntu-latest改为vpn 2025-08-05 07:59:50 -07:00
shanshanzhong147 ae04e0d518 chore: 更新GITEA_RUNNER_NAME为vpn-runner 2025-08-05 07:54:18 -07:00
shanshanzhong147 2b1ce740e1 ci: 更新部署配置和CI认证方式
将域名从ppanel.kxsw.us更改为api.kxsw.us
将CI工作流中的SSH认证方式从私钥改为密码认证
2025-08-05 07:47:50 -07:00
shanshanzhong147 e620abcce6 init 2025-08-05 06:19:25 -07:00
shanshanzhong147 7ea6fc226e refactor(Dockerfile): 优化时区文件拷贝并添加注释
将单个时区文件拷贝改为拷贝整个时区目录,提高可维护性
添加时区设置的环境变量注释
2025-07-28 06:56:07 -07:00
shanshanzhong147 d5f4b04c6c fix(deploy): 将API外部端口从8070改为8080 2025-07-24 09:33:40 -07:00
shanshanzhong147 a0ca976e66 chore: 开启调试模式并添加代码对比脚本
开启调试模式以便更好地排查问题。
添加代码对比脚本 see.sh,用于简洁地对比代码变更,包括文件变更对比和变更统计,方便查看我们和他们的修改情况。
2025-07-23 10:13:42 -07:00
shanshanzhong147 917732eeee fix: 修改 MySQL 配置中的密码和数据库名 2025-07-23 09:43:38 -07:00
shanshanzhong147 f0fbd9d208 fix: 更新MySQL和Redis连接地址以及Docker网络名称
将MySQL地址从localhost改为mysql_db,Redis地址从127.0.0.1改为redis_cache
更新Docker网络名称为ppanel-script_ppanel-network以匹配部署配置
2025-07-23 09:25:32 -07:00
shanshanzhong147 2d07182bd6 fix: 修正 Dockerfile 中的 CMD 命令参数 2025-07-23 09:20:32 -07:00
shanshanzhong147 e0ae15355b style: 将项目名称从Ppanel改为ppanel以保持命名一致性 2025-07-23 08:48:36 -07:00
shanshanzhong147 c0e0d03431 fix: 修正Dockerfile和Makefile中的可执行文件名称
将Dockerfile中的CMD命令和Makefile中的build-linux目标输出文件名称统一为'ppanel',确保容器运行时使用正确的可执行文件名称
2025-07-23 08:22:45 -07:00
shanshanzhong147 bb5d6974fa ci: 从发布流程中移除docker登录步骤
移除Makefile中自动登录docker的步骤,因为登录凭证应通过更安全的方式处理
2025-07-23 07:51:46 -07:00
shanshanzhong147 df7fcddb40 refactor: 更新Dockerfile和Makefile配置
统一服务名称为Ppanel并更新相关变量命名
优化Makefile结构,移除无用swagger相关命令
添加构建时间变量并改进构建命令
2025-07-23 07:36:26 -07:00
shanshanzhong147 6c9d5fb39e fix: 修正Makefile中的服务名称拼写错误 2025-07-22 10:25:41 -07:00
shanshanzhong147 4ecc5177ed ci(docker): 优化Go环境设置并启用缓存
使用setup-go替代gitea-tool-cache来设置Go环境
启用依赖缓存以提高构建效率
移除不必要的清理步骤
2025-07-22 10:11:10 -07:00
shanshanzhong147 c11d46bdbf ci: 更新工作流中使用的工作空间变量从github到gitea 2025-07-22 10:09:55 -07:00
shanshanzhong147 9b7a588997 ci(workflow): 更新docker工作流配置
- 添加GOSUMDB=off设置并清理go缓存
- 修复工作空间路径变量引用错误
- 增加go.sum清理步骤
2025-07-22 10:05:09 -07:00
shanshanzhong147 0f40c63ea0 ci(docker): 修复工作流中容器环境变量处理逻辑
修复容器名称变量引用错误,并添加对RUNNER_CONTAINER_NAME未设置的检查
2025-07-22 09:53:59 -07:00
shanshanzhong147 1d1d8c0e30 ci(workflows): 修改docker工作流中的环境文件路径
将环境文件存储路径从/install/cicd_env_files改为用户主目录下的~/cicd_env_files,避免权限问题
2025-07-22 09:52:25 -07:00
shanshanzhong147 5d890fdfcc ci: 更新Gitea Actions的引用版本为main分支 2025-07-22 09:50:20 -07:00
shanshanzhong147 94e2f33db1 ci: 移除Gitea Actions插件版本号以使用最新版本 2025-07-22 09:45:30 -07:00
shanshanzhong147 a7d9deb9cd ci(workflow): 更新 setup-go action 的引用方式 2025-07-22 09:36:18 -07:00
shanshanzhong147 9f9e832e37 chore(deploy): 更新GITEA_RUNNER_NAME为server-runner 2025-07-22 09:08:59 -07:00
shanshanzhong147 a73a3f2313 feat: 添加docker-compose配置和用户管理逻辑更新
fix(ci): 移除敏感信息并更新SSH认证方式

refactor: 清理无用文件和更新Makefile配置

docs: 添加项目配置文件和更新环境变量说明
2025-07-22 08:53:30 -07:00
shanshanzhong147 cc6ebc18e5 ci(docker): 添加docker构建工作流并更新Makefile配置
添加Gitea的docker构建工作流,包含环境变量配置、Go环境安装、镜像构建和发布步骤
重构Makefile以支持多平台构建、docker操作和swagger文档生成
2025-07-21 07:25:47 -07:00
37 changed files with 1559 additions and 340 deletions
+231
View File
@@ -0,0 +1,231 @@
name: Build docker and publish
run-name: 简化的Docker构建和部署流程
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
env:
# Docker镜像仓库
REPO: ${{ vars.REPO || 'registry.kxsw.us/ppanel-server' }}
# SSH连接信息
SSH_HOST: ${{ vars.SSH_HOST }}
SSH_PORT: ${{ vars.SSH_PORT }}
SSH_USER: ${{ vars.SSH_USER }}
SSH_PASSWORD: ${{ vars.SSH_PASSWORD }}
# TG通知
TG_BOT_TOKEN: 8114337882:AAHkEx03HSu7RxN4IHBJJEnsK9aPPzNLIk0
TG_CHAT_ID: "-4940243803"
# Go构建变量
SERVICE: ppanel
SERVICE_STYLE: ppanel
VERSION: ${{ github.sha }}
BUILDTIME: ${{ github.event.head_commit.timestamp }}
GOARCH: amd64
jobs:
build:
runs-on: ppanel-server
container:
image: node:20
strategy:
matrix:
# 只有node支持版本号别名
node: ['20.15.1']
steps:
# 步骤1: 下载代码
- name: 📥 下载代码
uses: actions/checkout@v4
# 步骤2: 设置动态环境变量
- name: ⚙️ 设置动态环境变量
run: |
if [ "${{ github.ref_name }}" = "main" ]; then
echo "DOCKER_TAG_SUFFIX=latest" >> $GITHUB_ENV
echo "CONTAINER_NAME=ppanel-server" >> $GITHUB_ENV
echo "DEPLOY_PATH=/root/vpn_server" >> $GITHUB_ENV
echo "为 main 分支设置生产环境变量"
elif [ "${{ github.ref_name }}" = "dev" ]; then
echo "DOCKER_TAG_SUFFIX=dev" >> $GITHUB_ENV
echo "CONTAINER_NAME=ppanel-server-dev" >> $GITHUB_ENV
echo "DEPLOY_PATH=/root/vpn_server_dev" >> $GITHUB_ENV
echo "为 dev 分支设置开发环境变量"
else
echo "DOCKER_TAG_SUFFIX=${{ github.ref_name }}" >> $GITHUB_ENV
echo "CONTAINER_NAME=ppanel-server-${{ github.ref_name }}" >> $GITHUB_ENV
echo "DEPLOY_PATH=/root/vpn_server_other" >> $GITHUB_ENV
echo "为其他分支 (${{ github.ref_name }}) 设置环境变量"
fi
# 步骤3: 安装系统工具 (Docker, curl, jq)
- name: 🔧 安装系统工具 (Docker, curl, jq)
run: |
set -e
export DEBIAN_FRONTEND=noninteractive
echo "等待 apt/dpkg 锁释放 (unattended-upgrades)..."
# 等待最多 300 秒让 unattended-upgrades/apt/dpkg 锁释放
end=$((SECONDS+300))
while true; do
LOCKS_BUSY=0
# 如果 unattended-upgrades 正在运行,标记为忙碌
if pgrep -x unattended-upgrades >/dev/null 2>&1; then LOCKS_BUSY=1; fi
# 如果 fuser 存在,检查常见的锁文件
if command -v fuser >/dev/null 2>&1; then
if fuser /var/lib/dpkg/lock >/dev/null 2>&1 \
|| fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1 \
|| fuser /var/lib/apt/lists/lock >/dev/null 2>&1; then
LOCKS_BUSY=1
fi
fi
# 如果不忙碌则跳出循环
if [ "$LOCKS_BUSY" -eq 0 ]; then break; fi
# 超时后约 5 分钟
if [ $SECONDS -ge $end ]; then
echo "等待 apt/dpkg 锁超时,使用 Dpkg::Lock::Timeout 继续..."
break
fi
echo "仍在等待锁释放..."; sleep 5
done
apt-get update -y -o Dpkg::Lock::Timeout=600
apt-get install -y -o Dpkg::Lock::Timeout=600 jq curl ca-certificates docker.io
docker --version
jq --version
curl --version
# 步骤4: 构建并发布到镜像仓库
- name: 📤 构建并发布到镜像仓库
run: |
echo "开始构建并推送镜像..."
echo "仓库: ${{ env.REPO }}"
echo "版本标签: ${{ env.VERSION }}"
echo "分支标签: ${{ env.DOCKER_TAG_SUFFIX }}"
# 构建镜像,同时打上版本和分支两个标签
docker build -f Dockerfile \
--platform linux/amd64 \
--build-arg TARGETARCH=amd64 \
--build-arg VERSION=${{ env.VERSION }} \
--build-arg BUILDTIME=${{ env.BUILDTIME }} \
-t ${{ env.REPO }}:${{ env.VERSION }} \
-t ${{ env.REPO }}:${{ env.DOCKER_TAG_SUFFIX }} \
.
echo "推送版本标签镜像: ${{ env.REPO }}:${{ env.VERSION }}"
docker push ${{ env.REPO }}:${{ env.VERSION }}
echo "推送分支标签镜像: ${{ env.REPO }}:${{ env.DOCKER_TAG_SUFFIX }}"
docker push ${{ env.REPO }}:${{ env.DOCKER_TAG_SUFFIX }}
echo "镜像推送完成"
# 步骤5: 连接服务器拉镜像启动
- name: 🚀 连接服务器拉镜像启动
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ env.SSH_HOST }}
username: ${{ env.SSH_USER }}
password: ${{ env.SSH_PASSWORD }}
port: ${{ env.SSH_PORT }}
timeout: 300s
command_timeout: 600s
script: |
echo "连接服务器成功,开始部署..."
echo "部署容器名: ${{ env.CONTAINER_NAME }}"
echo "部署路径: ${{ env.DEPLOY_PATH }}"
echo "部署镜像: ${{ env.REPO }}:${{ env.DOCKER_TAG_SUFFIX }}"
# 确保部署目录存在
mkdir -p ${{ env.DEPLOY_PATH }}/config
mkdir -p ${{ env.DEPLOY_PATH }}/logs
# 停止并删除旧容器(忽略所有错误)
if docker ps -a | grep -q ${{ env.CONTAINER_NAME }} 2>/dev/null; then
echo "停止旧容器..."
docker stop ${{ env.CONTAINER_NAME }} >/dev/null 2>&1 || true
echo "等待容器完全停止..."
sleep 5
echo "删除旧容器..."
# 静默删除,完全忽略错误输出
docker rm ${{ env.CONTAINER_NAME }} >/dev/null 2>&1 || true
sleep 2
# 如果仍然存在,尝试强制删除(静默)
if docker ps -a | grep -q ${{ env.CONTAINER_NAME }} 2>/dev/null; then
echo "尝试强制删除..."
docker rm -f ${{ env.CONTAINER_NAME }} >/dev/null 2>&1 || true
sleep 3
fi
echo "容器清理完成,继续部署..."
fi
# 拉取最新分支镜像
echo "拉取镜像: ${{ env.REPO }}:${{ env.DOCKER_TAG_SUFFIX }}..."
docker pull ${{ env.REPO }}:${{ env.DOCKER_TAG_SUFFIX }}
# 启动新容器
echo "启动新容器..."
cd ${{ env.DEPLOY_PATH }}
docker run -d \
--name ${{ env.CONTAINER_NAME }} \
--restart unless-stopped \
--network host \
-v ./config/ppanel.yaml:/app/etc/ppanel.yaml \
-v ./logs:/app/logs \
${{ env.REPO }}:${{ env.DOCKER_TAG_SUFFIX }}
# 检查容器状态
sleep 5
if docker ps | grep -q ${{ env.CONTAINER_NAME }}; then
echo "✅ 容器启动成功"
else
echo "❌ 容器启动失败"
docker logs ${{ env.CONTAINER_NAME }}
exit 1
fi
# 步骤6: TG通知 (成功)
- name: 📱 发送成功通知到Telegram
if: success()
uses: appleboy/telegram-action@master
with:
token: ${{ env.TG_BOT_TOKEN }}
to: ${{ env.TG_CHAT_ID }}
message: |
✅ 部署成功!
📦 项目: ${{ github.repository }}
🌿 分支: ${{ github.ref_name }}
📝 提交: ${{ github.sha }}
👤 提交者: ${{ github.actor }}
🕐 时间: ${{ github.event.head_commit.timestamp }}
🚀 服务已成功部署到生产环境
parse_mode: Markdown
# 步骤5: TG通知 (失败)
- name: 📱 发送失败通知到Telegram
if: failure()
uses: appleboy/telegram-action@master
with:
token: ${{ env.TG_BOT_TOKEN }}
to: ${{ env.TG_CHAT_ID }}
message: |
❌ 部署失败!
📦 项目: ${{ github.repository }}
🌿 分支: ${{ github.ref_name }}
📝 提交: ${{ github.sha }}
👤 提交者: ${{ github.actor }}
🕐 时间: ${{ github.event.head_commit.timestamp }}
⚠️ 请检查构建日志获取详细信息
parse_mode: Markdown
-131
View File
@@ -1,131 +0,0 @@
name: Release
on:
push:
tags:
- 'v*'
jobs:
build-docker:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ppanel-server
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract version from git tag
id: version
run: echo "VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')" >> $GITHUB_ENV
- name: Get short SHA
id: sha
run: echo "GIT_SHA=${GITHUB_SHA::8}" >> $GITHUB_ENV
- name: Set BUILD_TIME env
run: echo BUILD_TIME=$(date --iso-8601=seconds) >> ${GITHUB_ENV}
- name: Build and push Docker image for main release
if: "!contains(github.ref_name, 'beta')"
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
platforms: linux/amd64,linux/arm64
push: true
build-args: |
VERSION=${{ env.VERSION }}
tags: |
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}-${{ env.GIT_SHA }}
- name: Build and push Docker image for beta release
if: contains(github.ref_name, 'beta')
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
platforms: linux/amd64,linux/arm64
push: true
build-args: |
VERSION=${{ env.VERSION }}
tags: |
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:beta
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}-${{ env.GIT_SHA }}
release-notes:
runs-on: ubuntu-latest
needs: build-docker
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Install GoReleaser
run: |
go install github.com/goreleaser/goreleaser/v2@latest
- name: Run GoReleaser
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
goreleaser check
goreleaser release --clean
releases-matrix:
name: Release ppanel-server binary
runs-on: ubuntu-latest
needs: release-notes # wait for release-notes job to finish
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64,
# windows/386, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64
goos: [ linux, windows, darwin ]
goarch: [ '386', amd64, arm64 ]
exclude:
- goarch: '386'
goos: darwin
steps:
- uses: actions/checkout@v2
- name: Extract version from git tag
id: version
run: echo "VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')" >> $GITHUB_ENV
- name: Set BUILD_TIME env
run: echo BUILD_TIME=$(date --iso-8601=seconds) >> ${GITHUB_ENV}
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
asset_name: "ppanel-server-${{ matrix.goos }}-${{ matrix.goarch }}"
goversion: "https://dl.google.com/go/go1.23.3.linux-amd64.tar.gz"
project_path: "."
binary_name: "ppanel-server"
extra_files: LICENSE etc
ldflags: -X "github.com/perfect-panel/server/pkg/constant.Version=${{env.VERSION}}" -X "github.com/perfect-panel/server/pkg/constant.BuildTime=${{env.BUILD_TIME}}"
-2
View File
@@ -3,10 +3,8 @@
*-dev.yaml
*.local.yaml
/test/
*.log
.DS_Store
*_test_config.go
*.log*
/build/
*.p8
*.crt
+4 -2
View File
@@ -24,12 +24,13 @@ RUN BUILD_TIME=$(date -u +"%Y-%m-%d %H:%M:%S") && \
go build -ldflags="-s -w -X 'github.com/perfect-panel/server/pkg/constant.Version=${VERSION}' -X 'github.com/perfect-panel/server/pkg/constant.BuildTime=${BUILD_TIME}'" -o /app/ppanel ppanel.go
# Final minimal image
FROM scratch
FROM alpine:latest
# Copy CA certificates and timezone data
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /usr/share/zoneinfo/Asia/Shanghai /usr/share/zoneinfo/Asia/Shanghai
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
# Set Shanghai timezone
ENV TZ=Asia/Shanghai
# Set working directory and copy binary
@@ -37,6 +38,7 @@ WORKDIR /app
COPY --from=builder /app/ppanel /app/ppanel
COPY --from=builder /build/etc /app/etc
COPY --from=builder /build/logs /app/logs
# Expose the port (optional)
EXPOSE 8080
+66 -77
View File
@@ -1,84 +1,73 @@
NAME="ppanel-server"
BINDIR=bin
VERSION=$(shell git describe --tags || echo "unknown version")
BUILDTIME=$(shell date -u)
# Custom configuration | 独立配置
# Service name | 项目名称
SERVICE=ppanel
# Service name in specific style | 项目经过style格式化的名称
SERVICE_STYLE=ppanel
# Service name in lowercase | 项目名称全小写格式
SERVICE_LOWER=ppanel
# Service name in snake format | 项目名称下划线格式
SERVICE_SNAKE=ppanel
# Service name in snake format | 项目名称短杠格式
SERVICE_DASH=ppanel
# The project version, if you don't use git, you should set it manually | 项目版本,如果不使用git请手动设置
VERSION=$(shell git describe --tags --always)
# Build time | 构建时间
BUILDTIME=$(shell date '+%Y-%m-%d %H:%M:%S')
# The project file name style | 项目文件命名风格
PROJECT_STYLE=go_zero
# Whether to use i18n | 是否启用 i18n
PROJECT_I18N=true
# The suffix after build or compile | 构建后缀
PROJECT_BUILD_SUFFIX=api
# The arch of the build | 构建的架构
GOARCH=amd64
# The repository of docker | Docker 仓库地址
DOCKER_REPO=docker.i.on ticcheck
# ---- You may not need to modify the codes below | 下面的代码大概率不需要更改 ----
GO ?= go
GOFMT ?= gofmt "-s"
GOFILES := $(shell find . -name "*.go")
LDFLAGS := -s -w
# Build command with version injection | 带版本信息注入的构建命令
GOBUILD=CGO_ENABLED=0 go build -trimpath -ldflags '-X "github.com/perfect-panel/server/pkg/constant.Version=$(VERSION)" \
-X "github.com/perfect-panel/server/pkg/constant.BuildTime=$(BUILDTIME)" \
-w -s -buildid='
-X "github.com/perfect-panel/server/pkg/constant.BuildTime=$(BUILDTIME)" \
-w -s -buildid='
PLATFORM_LIST = \
darwin-amd64 \
darwin-amd64-v3 \
darwin-arm64 \
linux-386 \
linux-amd64 \
linux-amd64-v3 \
linux-armv5 \
linux-armv6 \
linux-armv7 \
linux-arm64 \
.PHONY: docker
docker: # Build the docker image | 构建 docker 镜像
docker build -f Dockerfile -t ${API_IMAGE_NAME}:${VERSION} .
@echo "Build docker successfully"
WINDOWS_ARCH_LIST = \
windows-386 \
windows-amd64 \
windows-amd64-v3 \
windows-arm64 \
windows-armv7
.PHONY: publish-docker
publish-docker: # Publish docker image | 发布 docker 镜像
docker tag ${API_IMAGE_NAME}:${VERSION} ${API_IMAGE_NAME}:latest
docker push ${API_IMAGE_NAME}:latest
@echo "Publish docker successfully"
all: linux-amd64 darwin-amd64 windows-amd64 # Most used
darwin-amd64:
GOARCH=amd64 GOOS=darwin $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
darwin-amd64-v3:
GOARCH=amd64 GOOS=darwin GOAMD64=v3 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
darwin-arm64:
GOARCH=arm64 GOOS=darwin $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
linux-386:
GOARCH=386 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
linux-amd64:
GOARCH=amd64 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
linux-amd64-v3:
GOARCH=amd64 GOOS=linux GOAMD64=v3 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
linux-armv5:
GOARCH=arm GOOS=linux GOARM=5 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
linux-armv6:
GOARCH=arm GOOS=linux GOARM=6 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
linux-armv7:
GOARCH=arm GOOS=linux GOARM=7 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
linux-arm64:
GOARCH=arm64 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
windows-386:
GOARCH=386 GOOS=windows $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
windows-amd64:
GOARCH=amd64 GOOS=windows $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
windows-amd64-v3:
GOARCH=amd64 GOOS=windows GOAMD64=v3 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
windows-arm64:
GOARCH=arm64 GOOS=windows $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
windows-armv7:
GOARCH=arm GOOS=windows GOARM=7 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
.PHONY: docker-run
docker-run: # Publish docker image | 发布 docker 镜像
docker rm -f ${API_CONTAINER_NAME}
@echo "pwd: $(pwd)"
docker compose -p ${DOCKER_PROJECT_NAME} -f ${DOCKER_COMPOSE_FILE} up -d
@echo "docker run successfully"
gz_releases=$(addsuffix .gz, $(PLATFORM_LIST))
zip_releases=$(addsuffix .zip, $(WINDOWS_ARCH_LIST))
.PHONY: build-linux
build-linux: # Build project for Linux | 构建Linux下的可执行文件
GOOS=linux GOARCH=$(GOARCH) $(GOBUILD) -o /app/ppanel $(SERVICE_STYLE).go
@echo "Build project for Linux successfully"
$(gz_releases): %.gz : %
chmod +x $(BINDIR)/$(NAME)-$(basename $@)
gzip -f -S -$(VERSION).gz $(BINDIR)/$(NAME)-$(basename $@)
$(zip_releases): %.zip : %
zip -m -j $(BINDIR)/$(NAME)-$(basename $@)-$(VERSION).zip $(BINDIR)/$(NAME)-$(basename $@).exe
.PHONY: help
help: # Show help | 显示帮助
@grep kfile | sort | while read-r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done
+3 -3
View File
@@ -113,9 +113,9 @@ proxy services. Built with Go, it emphasizes performance, security, and scalabil
```
4. **Pull from Docker Hub** (after CI/CD publishes):
```bash
docker pull ppanel/ppanel-server:latest
docker run --rm -p 8080:8080 ppanel/ppanel-server:latest
```bashw
docker pull yourusername/ppanel-server:latest
docker run --rm -p 8080:8080 yourusername/ppanel-server:latest
```
## 📖 API Documentation
+6 -5
View File
@@ -16,11 +16,12 @@ type (
Status *uint8 `json:"status" validate:"required"`
}
GetTicketListRequest {
Page int64 `form:"page"`
Size int64 `form:"size"`
UserId int64 `form:"user_id,omitempty"`
Status *uint8 `form:"status,omitempty"`
Search string `form:"search,omitempty"`
Page int64 `form:"page"`
Size int64 `form:"size"`
UserId int64 `form:"user_id,omitempty"`
Status *uint8 `form:"status,omitempty"`
IssueType *uint8 `form:"issue_type,omitempty"`
Search string `form:"search,omitempty"`
}
GetTicketListResponse {
Total int64 `json:"total"`
+6 -4
View File
@@ -18,12 +18,14 @@ type (
CreateUserTicketRequest {
Title string `json:"title"`
Description string `json:"description"`
IssueType uint8 `json:"issue_type"`
}
GetUserTicketListRequest {
Page int `form:"page"`
Size int `form:"size"`
Status *uint8 `form:"status,omitempty"`
Search string `form:"search,omitempty"`
Page int `form:"page"`
Size int `form:"size"`
Status *uint8 `form:"status,omitempty"`
IssueType *uint8 `form:"issue_type,omitempty"`
Search string `form:"search,omitempty"`
}
GetUserTicketDetailRequest {
Id int64 `form:"id" validate:"required"`
+20 -8
View File
@@ -2,11 +2,11 @@ Host: 0.0.0.0
Port: 8080
Debug: false
JwtAuth:
AccessSecret: 1234567890
AccessSecret: e4bbdb8ca57179374c0e8a7a85038da21341aee4bdff98c0e612751d7c362cac
AccessExpire: 604800
Logger:
ServiceName: PPanel
Mode: console
Mode: file
Encoding: plain
TimeFormat: '2025-01-01 00:00:00.000'
Path: logs
@@ -21,18 +21,30 @@ Logger:
Rotation: daily
FileTimeFormat: 2025-01-01T00:00:00.000Z00:00
MySQL:
Addr: 172.245.180.199:3306
Dbname: ppanel
Username: ppanel
Password: ppanelpassword
Addr: 127.0.0.1:3306
Dbname: dev_ppanel
Username: root
Password: rootpassword
Config: charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai
MaxIdleConns: 10
MaxOpenConns: 10
SlowThreshold: 1000
Redis:
Host: ppanel-cache:6379
Host: 127.0.0.1:6379
Pass:
DB: 0
Administrator:
Password: password
Email: admin@ppanel.dev
Email: admin@ppanel.dev
Email:
Enable: true
Platform: smtp
PlatformConfig: '{"host":"smtp.gmail.com","port":465,"user":"devneeds52@gmail.com","pass":"bqxn hurw ckxt ookj","from":"devneeds52@gmail.com","ssl":true}'
EnableVerify: true
EnableNotify: true
EnableDomainSuffix: false
DomainSuffixList: ""
VerifyEmailTemplate: ""
ExpirationEmailTemplate: ""
MaintenanceEmailTemplate: ""
TrafficExceedEmailTemplate: ""
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -379,6 +379,7 @@ CREATE TABLE IF NOT EXISTS `user`
`referer_id` bigint DEFAULT NULL COMMENT 'Referrer ID',
`commission` bigint DEFAULT '0' COMMENT 'Commission',
`gift_amount` bigint DEFAULT '0' COMMENT 'User Gift Amount',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'User Remark',
`enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Is Account Enabled',
`is_admin` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Is Admin',
`valid_email` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Is Email Verified',
+5 -5
View File
@@ -19,15 +19,15 @@ func Migrate(ctx *svc.ServiceContext) {
}
now := time.Now()
if err := migrate.Migrate(mc.Dsn()).Up(); err != nil {
if errors.Is(err, migrate.NoChange) {
logger.Info("[Migrate] database not change")
return
if !errors.Is(err, migrate.NoChange) {
logger.Errorf("[Migrate] Up error: %v", err.Error())
panic(err)
}
logger.Errorf("[Migrate] Up error: %v", err.Error())
panic(err)
logger.Info("[Migrate] database not change")
} else {
logger.Info("[Migrate] Database change, took " + time.Since(now).String())
}
// if not found admin user
err := ctx.DB.Transaction(func(tx *gorm.DB) error {
var count int64
@@ -4,6 +4,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/perfect-panel/server/internal/logic/public/user"
"github.com/perfect-panel/server/internal/svc"
"github.com/perfect-panel/server/internal/types"
"github.com/perfect-panel/server/pkg/result"
)
@@ -11,8 +12,15 @@ import (
func QueryUserBalanceLogHandler(svcCtx *svc.ServiceContext) func(c *gin.Context) {
return func(c *gin.Context) {
var req types.QueryUserBalanceLogListRequest
_ = c.ShouldBind(&req)
validateErr := svcCtx.Validate(&req)
if validateErr != nil {
result.ParamErrorResult(c, validateErr)
return
}
l := user.NewQueryUserBalanceLogLogic(c.Request.Context(), svcCtx)
resp, err := l.QueryUserBalanceLog()
resp, err := l.QueryUserBalanceLog(&req)
result.HttpResult(c, resp, err)
}
}
@@ -27,7 +27,7 @@ func NewGetTicketListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Get
}
func (l *GetTicketListLogic) GetTicketList(req *types.GetTicketListRequest) (resp *types.GetTicketListResponse, err error) {
total, list, err := l.svcCtx.TicketModel.QueryTicketList(l.ctx, int(req.Page), int(req.Size), req.UserId, req.Status, req.Search)
total, list, err := l.svcCtx.TicketModel.QueryTicketList(l.ctx, int(req.Page), int(req.Size), req.UserId, req.Status, req.IssueType, req.Search)
if err != nil {
l.Errorw("[GetTicketList] Query Database Error: ", logger.Field("error", err.Error()))
return nil, errors.Wrapf(xerr.NewErrCode(xerr.DatabaseQueryError), "QueryTicketList error: %v", err)
+6 -49
View File
@@ -3,11 +3,6 @@ package common
import (
"context"
"encoding/json"
"io"
"net"
"net/http"
"slices"
"strings"
"time"
"github.com/perfect-panel/server/internal/config"
@@ -68,52 +63,14 @@ func (l *GetStatLogic) GetStat() (resp *types.GetStatResponse, err error) {
l.Logger.Error("[GetStatLogic] get server_addr failed: ", logger.Field("error", err.Error()))
return nil, errors.Wrapf(xerr.NewErrCode(xerr.DatabaseQueryError), "get server_addr failed: %v", err.Error())
}
type apireq struct {
query string
fields string
}
type apiret struct {
CountryCode string `json:"countryCode"`
}
//map as dict
type void struct{}
var v void
country := make(map[string]void)
for c := range slices.Chunk(nodeaddr, 100) {
var batchreq []apireq
for _, addr := range c {
isAddr := net.ParseIP(addr)
if isAddr == nil {
ip, err := net.LookupIP(addr)
if err == nil && len(ip) > 0 {
batchreq = append(batchreq, apireq{query: ip[0].String(), fields: "countryCode"})
}
} else {
batchreq = append(batchreq, apireq{query: addr, fields: "countryCode"})
}
}
req, _ := json.Marshal(batchreq)
ret, err := http.Post("http://ip-api.com/batch", "application/json", strings.NewReader(string(req)))
if err == nil {
retBytes, err := io.ReadAll(ret.Body)
if err == nil {
var retStruct []apiret
err := json.Unmarshal(retBytes, &retStruct)
if err == nil {
for _, dat := range retStruct {
if dat.CountryCode != "" {
country[dat.CountryCode] = v
}
}
}
}
}
}
protocolDict := make(map[string]void)
country := 0
protocolDict := make(map[string]struct{})
var protocol []string
l.svcCtx.DB.Model(&server.Server{}).Where("enable = true").Pluck("protocol", &protocol)
for _, p := range protocol {
protocolDict[p] = v
protocolDict[p] = struct{}{}
}
protocol = nil
for p := range protocolDict {
@@ -122,7 +79,7 @@ func (l *GetStatLogic) GetStat() (resp *types.GetStatResponse, err error) {
resp = &types.GetStatResponse{
User: u,
Node: n,
Country: int64(len(country)),
Country: int64(country),
Protocol: protocol,
OnlineDevice: l.svcCtx.DeviceManager.GetOnlineDeviceCount(),
}
@@ -58,12 +58,16 @@ func (l *QuerySubscribeListLogic) QuerySubscribeList(req *types.QuerySubscribeLi
}
list[i] = sub
// 通过服务组查询关联的节点数量
servers, err := l.svcCtx.ServerModel.FindServerListByGroupIds(l.ctx, tool.StringToInt64Slice(sub.ServerGroup))
if err != nil {
l.Errorw("[QuerySubscribeListLogic] FindServerListByGroupIds error", logger.Field("error", err.Error()))
sub.ServerCount = 0
if item.ServerGroup != "" {
servers, err := l.svcCtx.ServerModel.FindServerListByGroupIds(l.ctx, tool.StringToInt64Slice(item.ServerGroup))
if err != nil {
l.Errorw("[QuerySubscribeListLogic] FindServerListByGroupIds error", logger.Field("error", err.Error()))
sub.ServerCount = 0
} else {
sub.ServerCount = int64(len(servers))
}
} else {
sub.ServerCount = int64(len(servers))
sub.ServerCount = 0
}
list[i] = sub
}
@@ -41,6 +41,7 @@ func (l *CreateUserTicketLogic) CreateUserTicket(req *types.CreateUserTicketRequ
Description: req.Description,
UserId: u.Id,
Status: ticket.Pending,
IssueType: req.IssueType,
})
if err != nil {
return errors.Wrapf(xerr.NewErrCode(xerr.DatabaseInsertError), "insert ticket error: %v", err.Error())
@@ -36,7 +36,7 @@ func (l *GetUserTicketListLogic) GetUserTicketList(req *types.GetUserTicketListR
return nil, errors.Wrapf(xerr.NewErrCode(xerr.InvalidAccess), "Invalid Access")
}
l.Logger.Debugf("Current user: %v", u.Id)
total, list, err := l.svcCtx.TicketModel.QueryTicketList(l.ctx, req.Page, req.Size, u.Id, req.Status, req.Search)
total, list, err := l.svcCtx.TicketModel.QueryTicketList(l.ctx, req.Page, req.Size, u.Id, req.Status, req.IssueType, req.Search)
if err != nil {
l.Errorw("[GetUserTicketListLogic] Database Error", logger.Field("error", err.Error()))
return nil, errors.Wrapf(xerr.NewErrCode(xerr.DatabaseQueryError), "QueryTicketList error: %v", err)
@@ -29,7 +29,7 @@ func NewQueryUserBalanceLogLogic(ctx context.Context, svcCtx *svc.ServiceContext
}
}
func (l *QueryUserBalanceLogLogic) QueryUserBalanceLog() (resp *types.QueryUserBalanceLogListResponse, err error) {
func (l *QueryUserBalanceLogLogic) QueryUserBalanceLog(req *types.QueryUserBalanceLogListRequest) (resp *types.QueryUserBalanceLogListResponse, err error) {
u, ok := l.ctx.Value(constant.CtxKeyUser).(*user.User)
if !ok {
logger.Error("current user is not found in context")
+9 -6
View File
@@ -9,12 +9,15 @@ import (
)
const (
RelayModeNone = "none"
RelayModeAll = "all"
RelayModeRandom = "random"
RuleGroupTypeReject = "reject"
RuleGroupTypeDefault = "default"
RuleGroupTypeDirect = "direct"
RelayModeNone = "none"
RelayModeAll = "all"
RelayModeRandom = "random"
RelayModeMixed = "mixed"
RelayModeAllDirect = "all_direct"
RelayModeRandomDirect = "random_direct"
RuleGroupTypeReject = "reject"
RuleGroupTypeDefault = "default"
RuleGroupTypeDirect = "direct"
)
type ServerFilter struct {
+6 -4
View File
@@ -17,6 +17,7 @@ type Details struct {
Description string `gorm:"type:text;comment:Description"`
UserId int64 `gorm:"type:bigint;not null;default:0;comment:UserId"`
Status uint8 `gorm:"type:tinyint(1);not null;default:1;comment:Status"`
IssueType uint8 `gorm:"type:tinyint(1);not null;default:0;comment:Issue Type: 0 ticket, 1 withdraw"`
Follows []Follow `gorm:"foreignKey:TicketId;references:Id"`
CreatedAt time.Time `gorm:"<-:create;comment:Create Time"`
UpdatedAt time.Time `gorm:"comment:Update Time"`
@@ -24,7 +25,7 @@ type Details struct {
type customTicketLogicModel interface {
QueryTicketDetail(ctx context.Context, id int64) (*Details, error)
InsertTicketFollow(ctx context.Context, data *Follow) error
QueryTicketList(ctx context.Context, page, size int, userId int64, status *uint8, search string) (int64, []*Ticket, error)
QueryTicketList(ctx context.Context, page, size int, userId int64, status *uint8, issueType *uint8, search string) (int64, []*Ticket, error)
UpdateTicketStatus(ctx context.Context, id, userId int64, status uint8) error
QueryWaitReplyTotal(ctx context.Context) (int64, error)
}
@@ -55,7 +56,7 @@ func (m *customTicketModel) InsertTicketFollow(ctx context.Context, data *Follow
}
// QueryTicketList returns the ticket list.
func (m *customTicketModel) QueryTicketList(ctx context.Context, page, size int, userId int64, status *uint8, search string) (int64, []*Ticket, error) {
func (m *customTicketModel) QueryTicketList(ctx context.Context, page, size int, userId int64, status *uint8, issueType *uint8, search string) (int64, []*Ticket, error) {
var data []*Ticket
var total int64
err := m.QueryNoCacheCtx(ctx, &data, func(conn *gorm.DB, v interface{}) error {
@@ -65,8 +66,9 @@ func (m *customTicketModel) QueryTicketList(ctx context.Context, page, size int,
}
if status != nil {
query = query.Where("status = ?", status)
} else {
query = query.Where("status != ?", 4)
}
if issueType != nil {
query = query.Where("issue_type = ?", issueType)
}
if search != "" {
query = query.Where("title like ? or description like ?", "%"+search+"%", "%"+search+"%")
+2 -1
View File
@@ -12,9 +12,10 @@ const (
type Ticket struct {
Id int64 `gorm:"primaryKey"`
Title string `gorm:"type:varchar(255);not null;default:'';comment:Title"`
Description string `gorm:"type:text;comment:Description"`
Description string `gorm:"type:longtext;comment:Description"`
UserId int64 `gorm:"type:bigint;not null;default:0;comment:UserId"`
Status uint8 `gorm:"type:tinyint(1);not null;default:1;comment:Status"`
IssueType uint8 `gorm:"type:tinyint(1);not null;default:0;comment:Issue Type: 0 ticket, 1 withdraw"`
CreatedAt time.Time `gorm:"<-:create;comment:Create Time"`
UpdatedAt time.Time `gorm:"comment:Update Time"`
}
+1 -1
View File
@@ -118,6 +118,6 @@ func (m *customTrafficModel) TopUsersTrafficByMonthly(ctx context.Context, date
func (m *customTrafficModel) QueryTrafficLogPageList(ctx context.Context, userId, subscribeId int64, page, size int) ([]*TrafficLog, int64, error) {
var list []*TrafficLog
var total int64
err := m.Conn.WithContext(ctx).Model(&TrafficLog{}).Where("user_id = ? and subscribe_id= ?", userId, subscribeId).Count(&total).Limit(size).Offset((page - 1) * size).Find(&list).Error
err := m.Conn.WithContext(ctx).Model(&TrafficLog{}).Where("user_id = ? and subscribe_id= ?", userId, subscribeId).Count(&total).Order("timestamp DESC").Limit(size).Offset((page - 1) * size).Find(&list).Error
return list, total, err
}
+1
View File
@@ -17,6 +17,7 @@ type User struct {
ReferralPercentage uint8 `gorm:"default:0;comment:Referral"` // Referral Percentage
OnlyFirstPurchase *bool `gorm:"default:true;not null;comment:Only First Purchase"` // Only First Purchase Referral
GiftAmount int64 `gorm:"default:0;comment:User Gift Amount"`
Remark string `gorm:"type:varchar(255);default:'';comment:User Remark"`
Enable *bool `gorm:"default:true;not null;comment:Is Account Enabled"`
IsAdmin *bool `gorm:"default:false;not null;comment:Is Admin"`
EnableBalanceNotify *bool `gorm:"default:false;not null;comment:Enable Balance Change Notifications"`
+22 -22
View File
@@ -5,6 +5,7 @@ import (
"github.com/perfect-panel/server/internal/model/client"
"github.com/perfect-panel/server/internal/model/node"
"github.com/perfect-panel/server/internal/model/server"
"github.com/perfect-panel/server/pkg/device"
"github.com/perfect-panel/server/internal/config"
@@ -17,7 +18,6 @@ import (
"github.com/perfect-panel/server/internal/model/order"
"github.com/perfect-panel/server/internal/model/payment"
"github.com/perfect-panel/server/internal/model/subscribe"
"github.com/perfect-panel/server/internal/model/server"
"github.com/perfect-panel/server/internal/model/system"
"github.com/perfect-panel/server/internal/model/ticket"
"github.com/perfect-panel/server/internal/model/traffic"
@@ -41,18 +41,18 @@ type ServiceContext struct {
GeoIP *IPLocation
//NodeCache *cache.NodeCacheClient
AuthModel auth.Model
AdsModel ads.Model
LogModel log.Model
NodeModel node.Model
UserModel user.Model
OrderModel order.Model
ClientModel client.Model
TicketModel ticket.Model
ServerModel server.Model
SystemModel system.Model
CouponModel coupon.Model
PaymentModel payment.Model
AuthModel auth.Model
AdsModel ads.Model
LogModel log.Model
NodeModel node.Model
UserModel user.Model
OrderModel order.Model
ClientModel client.Model
TicketModel ticket.Model
ServerModel server.Model
SystemModel system.Model
CouponModel coupon.Model
PaymentModel payment.Model
DocumentModel document.Model
SubscribeModel subscribe.Model
TrafficLogModel traffic.Model
@@ -101,15 +101,15 @@ func NewServiceContext(c config.Config) *ServiceContext {
ExchangeRate: 1.0,
GeoIP: geoIP,
//NodeCache: cache.NewNodeCacheClient(rds),
AuthLimiter: authLimiter,
AdsModel: ads.NewModel(db, rds),
LogModel: log.NewModel(db),
NodeModel: node.NewModel(db, rds),
AuthModel: auth.NewModel(db, rds),
UserModel: user.NewModel(db, rds),
OrderModel: order.NewModel(db, rds),
ClientModel: client.NewSubscribeApplicationModel(db),
TicketModel: ticket.NewModel(db, rds),
AuthLimiter: authLimiter,
AdsModel: ads.NewModel(db, rds),
LogModel: log.NewModel(db),
NodeModel: node.NewModel(db, rds),
AuthModel: auth.NewModel(db, rds),
UserModel: user.NewModel(db, rds),
OrderModel: order.NewModel(db, rds),
ClientModel: client.NewSubscribeApplicationModel(db),
TicketModel: ticket.NewModel(db, rds),
ServerModel: server.NewModel(db, rds),
SystemModel: system.NewModel(db, rds),
CouponModel: coupon.NewModel(db, rds),
+21 -11
View File
@@ -457,6 +457,7 @@ type CreateUserTicketFollowRequest struct {
type CreateUserTicketRequest struct {
Title string `json:"title"`
Description string `json:"description"`
IssueType uint8 `json:"issue_type"`
}
type Currency struct {
@@ -949,8 +950,8 @@ type GetServerUserListResponse struct {
}
type GetStatResponse struct {
User int64 `json:"user"`
Node int64 `json:"node"`
User int64 `json:"user"`
Node int64 `json:"node"`
Country int64 `json:"country"`
Protocol []string `json:"protocol"`
OnlineDevice int64 `json:"online_devices"`
@@ -1011,11 +1012,12 @@ type GetSubscriptionResponse struct {
}
type GetTicketListRequest struct {
Page int64 `form:"page"`
Size int64 `form:"size"`
UserId int64 `form:"user_id,omitempty"`
Status *uint8 `form:"status,omitempty"`
Search string `form:"search,omitempty"`
Page int64 `form:"page"`
Size int64 `form:"size"`
UserId int64 `form:"user_id,omitempty"`
Status *uint8 `form:"status,omitempty"`
IssueType *uint8 `form:"issue_type,omitempty"`
Search string `form:"search,omitempty"`
}
type GetTicketListResponse struct {
@@ -1133,10 +1135,11 @@ type GetUserTicketDetailRequest struct {
}
type GetUserTicketListRequest struct {
Page int `form:"page"`
Size int `form:"size"`
Status *uint8 `form:"status,omitempty"`
Search string `form:"search,omitempty"`
Page int `form:"page"`
Size int `form:"size"`
Status *uint8 `form:"status,omitempty"`
IssueType *uint8 `form:"issue_type,omitempty"`
Search string `form:"search,omitempty"`
}
type GetUserTicketListResponse struct {
@@ -1700,6 +1703,11 @@ type QueryUserAffiliateListRequest struct {
Size int `form:"size"`
}
type QueryUserBalanceLogListRequest struct {
Page int `form:"page"`
Size int `form:"size"`
}
type QueryUserAffiliateListResponse struct {
List []UserAffiliate `json:"list"`
Total int64 `json:"total"`
@@ -2212,6 +2220,7 @@ type Ticket struct {
UserId int64 `json:"user_id"`
Follows []Follow `json:"follow,omitempty"`
Status uint8 `json:"status"`
IssueType uint8 `json:"issue_type"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
}
@@ -2531,6 +2540,7 @@ type User struct {
Telegram int64 `json:"telegram"`
ReferCode string `json:"refer_code"`
RefererId int64 `json:"referer_id"`
Remark string `json:"remark"`
Enable bool `json:"enable"`
IsAdmin bool `json:"is_admin,omitempty"`
EnableBalanceNotify bool `json:"enable_balance_notify"`
+786
View File
@@ -0,0 +1,786 @@
282842-12-12 00:00:00.925  info  start scheduler service caller=scheduler/scheduler.go:26
282842-12-12 00:00:00.925  info  start consumer service caller=queue/queue.go:23
282846-12-12 00:00:00.145  info  [GORM] SQL Executed duration=1.4ms caller=initialize/init.go:8 sql=SELECT count(*) FROM `user` rows=1
282846-12-12 00:00:00.145  debug  initialize site config caller=initialize/site.go:14
282846-12-12 00:00:00.146  info  [GORM] SQL Executed duration=0.5ms caller=initialize/site.go:15 sql=SELECT * FROM `system` WHERE `category` = 'site' rows=6
282846-12-12 00:00:00.146  debug  Node config initialization caller=initialize/node.go:16
282846-12-12 00:00:00.147  info  [GORM] SQL Executed duration=0.3ms caller=initialize/node.go:17 sql=SELECT * FROM `system` WHERE `category` = 'server' rows=9
282846-12-12 00:00:00.147  info  [GORM] SQL Executed duration=0.3ms caller=internal/server.go:69 sql=SELECT * FROM `system` WHERE `key` = 'NodeMultiplierConfig' rows=1
282846-12-12 00:00:00.148  info  [GORM] SQL Executed duration=0.3ms caller=initialize/node.go:70 sql=SELECT * FROM `system` WHERE `category` = 'server' AND `key` = 'NodeMultiplierConfig' rows=1
282846-12-12 00:00:00.148  debug  Email config initialization caller=initialize/email.go:17
282846-12-12 00:00:00.148  info  [GORM] SQL Executed duration=0.3ms caller=initialize/email.go:18 sql=SELECT * FROM `auth_method` WHERE method = 'email' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.149  debug  Register config initialization caller=initialize/invite.go:14
282846-12-12 00:00:00.149  info  [GORM] SQL Executed duration=0.2ms caller=initialize/invite.go:15 rows=4 sql=SELECT * FROM `system` WHERE `category` = 'invite'
282846-12-12 00:00:00.149  debug  Verify config initialization caller=initialize/verify.go:22
282846-12-12 00:00:00.149  info  [GORM] SQL Executed duration=0.3ms caller=initialize/verify.go:23 rows=5 sql=SELECT * FROM `system` WHERE `category` = 'verify'
282846-12-12 00:00:00.149  debug  Verify code config initialization caller=initialize/verify.go:38
282846-12-12 00:00:00.150  info  [GORM] SQL Executed duration=0.2ms caller=initialize/verify.go:41 sql=SELECT * FROM `system` WHERE `category` = 'verify_code' rows=3
282846-12-12 00:00:00.150  debug  Subscribe config initialization caller=initialize/subscribe.go:14
282846-12-12 00:00:00.150  info  [GORM] SQL Executed duration=0.3ms caller=initialize/subscribe.go:15 rows=4 sql=SELECT * FROM `system` WHERE `category` = 'subscribe'
282846-12-12 00:00:00.150  debug  Register config initialization caller=initialize/register.go:14
282846-12-12 00:00:00.151  info  [GORM] SQL Executed duration=0.3ms caller=initialize/register.go:15 sql=SELECT * FROM `system` WHERE `category` = 'register' rows=8
282846-12-12 00:00:00.151  debug  Mobile config initialization caller=initialize/mobile.go:16
282846-12-12 00:00:00.151  info  [GORM] SQL Executed duration=0.2ms caller=initialize/mobile.go:17 sql=SELECT * FROM `auth_method` WHERE method = 'mobile' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.152  info  [GORM] SQL Executed duration=0.2ms caller=initialize/telegram.go:19 sql=SELECT * FROM `auth_method` WHERE method = 'telegram' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.886  info  Starting agent caller=trace/agent.go:46
282846-12-12 00:00:00.886  info  server start at 0.0.0.0:8080 caller=internal/server.go:87
282826-12-12 00:00:00.691  info  stop scheduler service caller=scheduler/scheduler.go:55
282826-12-12 00:00:00.691  info  stop consumer service caller=queue/queue.go:36
282852-12-12 00:00:00.356  info  start scheduler service caller=scheduler/scheduler.go:26
282852-12-12 00:00:00.356  info  start consumer service caller=queue/queue.go:23
282852-12-12 00:00:00.364  info  [Migrate] database not change caller=initialize/version.go:21
282852-12-12 00:00:00.364  debug  initialize site config caller=initialize/site.go:14
282852-12-12 00:00:00.365  info  [GORM] SQL Executed duration=1.0ms caller=initialize/site.go:15 sql=SELECT * FROM `system` WHERE `category` = 'site' rows=6
282852-12-12 00:00:00.365  debug  Node config initialization caller=initialize/node.go:16
282852-12-12 00:00:00.366  info  [GORM] SQL Executed duration=0.3ms caller=initialize/node.go:17 sql=SELECT * FROM `system` WHERE `category` = 'server' rows=9
282852-12-12 00:00:00.366  info  [GORM] SQL Executed duration=0.3ms caller=internal/server.go:69 sql=SELECT * FROM `system` WHERE `key` = 'NodeMultiplierConfig' rows=1
282852-12-12 00:00:00.366  info  [GORM] SQL Executed duration=0.3ms caller=initialize/node.go:70 sql=SELECT * FROM `system` WHERE `category` = 'server' AND `key` = 'NodeMultiplierConfig' rows=1
282852-12-12 00:00:00.366  debug  Email config initialization caller=initialize/email.go:17
282852-12-12 00:00:00.368  info  [GORM] SQL Executed duration=0.9ms caller=initialize/email.go:18 sql=SELECT * FROM `auth_method` WHERE method = 'email' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282852-12-12 00:00:00.368  debug  Register config initialization caller=initialize/invite.go:14
282852-12-12 00:00:00.368  info  [GORM] SQL Executed duration=0.4ms caller=initialize/invite.go:15 sql=SELECT * FROM `system` WHERE `category` = 'invite' rows=4
282852-12-12 00:00:00.369  debug  Verify config initialization caller=initialize/verify.go:22
282852-12-12 00:00:00.369  info  [GORM] SQL Executed duration=0.3ms caller=initialize/verify.go:23 sql=SELECT * FROM `system` WHERE `category` = 'verify' rows=5
282852-12-12 00:00:00.369  debug  Verify code config initialization caller=initialize/verify.go:38
282852-12-12 00:00:00.369  info  [GORM] SQL Executed duration=0.3ms caller=initialize/verify.go:41 sql=SELECT * FROM `system` WHERE `category` = 'verify_code' rows=3
282852-12-12 00:00:00.370  debug  Subscribe config initialization caller=initialize/subscribe.go:14
282852-12-12 00:00:00.370  info  [GORM] SQL Executed duration=0.3ms caller=initialize/subscribe.go:15 rows=4 sql=SELECT * FROM `system` WHERE `category` = 'subscribe'
282852-12-12 00:00:00.370  debug  Register config initialization caller=initialize/register.go:14
282852-12-12 00:00:00.371  info  [GORM] SQL Executed duration=0.3ms caller=initialize/register.go:15 sql=SELECT * FROM `system` WHERE `category` = 'register' rows=8
282852-12-12 00:00:00.371  debug  Mobile config initialization caller=initialize/mobile.go:16
282852-12-12 00:00:00.371  info  [GORM] SQL Executed duration=0.3ms caller=initialize/mobile.go:17 rows=1 sql=SELECT * FROM `auth_method` WHERE method = 'mobile' ORDER BY `auth_method`.`id` LIMIT 1
282852-12-12 00:00:00.372  info  [GORM] SQL Executed duration=0.3ms caller=initialize/telegram.go:19 sql=SELECT * FROM `auth_method` WHERE method = 'telegram' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282853-12-12 00:00:00.084  info  Starting agent caller=trace/agent.go:46
282853-12-12 00:00:00.084  info  server start at 0.0.0.0:8080 caller=internal/server.go:87
282852-12-12 00:00:00.496  info  [CheckSubscription] Start check subscription: 2025-12-28 16:36:52 caller=subscription/checkSubscriptionLogic.go:32
282852-12-12 00:00:00.502  info  [GORM] SQL Executed duration=4.8ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282852-12-12 00:00:00.502  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282852-12-12 00:00:00.505  info  [GORM] SQL Executed duration=1.8ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:36:52.503' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282852-12-12 00:00:00.505  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282852-12-12 00:00:00.615  info  [CheckSubscription] Start check subscription: 2025-12-28 16:37:52 caller=subscription/checkSubscriptionLogic.go:32
282852-12-12 00:00:00.643  info  [GORM] SQL Executed duration=17.5ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282852-12-12 00:00:00.643  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282852-12-12 00:00:00.651  info  [GORM] SQL Executed duration=6.0ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:37:52.645' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282852-12-12 00:00:00.651  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
28285-12-12 00:00:00.354  info  stop scheduler service caller=scheduler/scheduler.go:55
28285-12-12 00:00:00.354  info  stop consumer service caller=queue/queue.go:36
28285-12-12 00:00:00.354  info  server shutdown caller=internal/server.go:108
282838-12-12 00:00:00.114  info  start scheduler service caller=scheduler/scheduler.go:26
282838-12-12 00:00:00.114  info  start consumer service caller=queue/queue.go:23
282838-12-12 00:00:00.129  info  [Migrate] database not change caller=initialize/version.go:21
282838-12-12 00:00:00.129  debug  initialize site config caller=initialize/site.go:14
282838-12-12 00:00:00.131  info  [GORM] SQL Executed duration=0.9ms caller=initialize/site.go:15 sql=SELECT * FROM `system` WHERE `category` = 'site' rows=6
282838-12-12 00:00:00.131  debug  Node config initialization caller=initialize/node.go:16
282838-12-12 00:00:00.132  info  [GORM] SQL Executed duration=0.6ms caller=initialize/node.go:17 sql=SELECT * FROM `system` WHERE `category` = 'server' rows=9
282838-12-12 00:00:00.133  info  [GORM] SQL Executed duration=0.6ms caller=internal/server.go:69 sql=SELECT * FROM `system` WHERE `key` = 'NodeMultiplierConfig' rows=1
282838-12-12 00:00:00.133  info  [GORM] SQL Executed duration=0.4ms caller=initialize/node.go:70 sql=SELECT * FROM `system` WHERE `category` = 'server' AND `key` = 'NodeMultiplierConfig' rows=1
282838-12-12 00:00:00.133  debug  Email config initialization caller=initialize/email.go:17
282838-12-12 00:00:00.134  info  [GORM] SQL Executed duration=0.7ms caller=initialize/email.go:18 sql=SELECT * FROM `auth_method` WHERE method = 'email' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282838-12-12 00:00:00.135  debug  Register config initialization caller=initialize/invite.go:14
282838-12-12 00:00:00.135  info  [GORM] SQL Executed duration=0.4ms caller=initialize/invite.go:15 sql=SELECT * FROM `system` WHERE `category` = 'invite' rows=4
282838-12-12 00:00:00.135  debug  Verify config initialization caller=initialize/verify.go:22
282838-12-12 00:00:00.136  info  [GORM] SQL Executed duration=0.5ms caller=initialize/verify.go:23 sql=SELECT * FROM `system` WHERE `category` = 'verify' rows=5
282838-12-12 00:00:00.136  debug  Verify code config initialization caller=initialize/verify.go:38
282838-12-12 00:00:00.137  info  [GORM] SQL Executed duration=0.4ms caller=initialize/verify.go:41 sql=SELECT * FROM `system` WHERE `category` = 'verify_code' rows=3
282838-12-12 00:00:00.137  debug  Subscribe config initialization caller=initialize/subscribe.go:14
282838-12-12 00:00:00.137  info  [GORM] SQL Executed duration=0.3ms caller=initialize/subscribe.go:15 sql=SELECT * FROM `system` WHERE `category` = 'subscribe' rows=4
282838-12-12 00:00:00.137  debug  Register config initialization caller=initialize/register.go:14
282838-12-12 00:00:00.138  info  [GORM] SQL Executed duration=0.3ms caller=initialize/register.go:15 rows=8 sql=SELECT * FROM `system` WHERE `category` = 'register'
282838-12-12 00:00:00.138  debug  Mobile config initialization caller=initialize/mobile.go:16
282838-12-12 00:00:00.138  info  [GORM] SQL Executed duration=0.3ms caller=initialize/mobile.go:17 sql=SELECT * FROM `auth_method` WHERE method = 'mobile' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282838-12-12 00:00:00.139  info  [GORM] SQL Executed duration=0.3ms caller=initialize/telegram.go:19 sql=SELECT * FROM `auth_method` WHERE method = 'telegram' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282838-12-12 00:00:00.836  info  Starting agent caller=trace/agent.go:46
282838-12-12 00:00:00.836  info  server start at 0.0.0.0:8080 caller=internal/server.go:87
282837-12-12 00:00:00.205  info  stop scheduler service caller=scheduler/scheduler.go:55
282837-12-12 00:00:00.205  info  stop consumer service caller=queue/queue.go:36
282837-12-12 00:00:00.205  info  server shutdown caller=internal/server.go:108
282822-12-12 00:00:00.250  info  start scheduler service caller=scheduler/scheduler.go:26
282822-12-12 00:00:00.250  info  start consumer service caller=queue/queue.go:23
282822-12-12 00:00:00.260  info  [Migrate] database not change caller=initialize/version.go:21
282822-12-12 00:00:00.260  debug  initialize site config caller=initialize/site.go:14
282822-12-12 00:00:00.261  info  [GORM] SQL Executed duration=0.5ms caller=initialize/site.go:15 sql=SELECT * FROM `system` WHERE `category` = 'site' rows=6
282822-12-12 00:00:00.261  debug  Node config initialization caller=initialize/node.go:16
282822-12-12 00:00:00.262  info  [GORM] SQL Executed duration=0.4ms caller=initialize/node.go:17 sql=SELECT * FROM `system` WHERE `category` = 'server' rows=9
282822-12-12 00:00:00.262  info  [GORM] SQL Executed duration=0.4ms caller=internal/server.go:69 sql=SELECT * FROM `system` WHERE `key` = 'NodeMultiplierConfig' rows=1
282822-12-12 00:00:00.263  info  [GORM] SQL Executed duration=0.3ms caller=initialize/node.go:70 sql=SELECT * FROM `system` WHERE `category` = 'server' AND `key` = 'NodeMultiplierConfig' rows=1
282822-12-12 00:00:00.263  debug  Email config initialization caller=initialize/email.go:17
282822-12-12 00:00:00.263  info  [GORM] SQL Executed duration=0.4ms caller=initialize/email.go:18 sql=SELECT * FROM `auth_method` WHERE method = 'email' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282822-12-12 00:00:00.263  debug  Register config initialization caller=initialize/invite.go:14
282822-12-12 00:00:00.264  info  [GORM] SQL Executed duration=0.3ms caller=initialize/invite.go:15 sql=SELECT * FROM `system` WHERE `category` = 'invite' rows=4
282822-12-12 00:00:00.264  debug  Verify config initialization caller=initialize/verify.go:22
282822-12-12 00:00:00.264  info  [GORM] SQL Executed duration=0.3ms caller=initialize/verify.go:23 sql=SELECT * FROM `system` WHERE `category` = 'verify' rows=5
282822-12-12 00:00:00.265  debug  Verify code config initialization caller=initialize/verify.go:38
282822-12-12 00:00:00.265  info  [GORM] SQL Executed duration=0.3ms caller=initialize/verify.go:41 sql=SELECT * FROM `system` WHERE `category` = 'verify_code' rows=3
282822-12-12 00:00:00.265  debug  Subscribe config initialization caller=initialize/subscribe.go:14
282822-12-12 00:00:00.266  info  [GORM] SQL Executed duration=0.3ms caller=initialize/subscribe.go:15 sql=SELECT * FROM `system` WHERE `category` = 'subscribe' rows=4
282822-12-12 00:00:00.266  debug  Register config initialization caller=initialize/register.go:14
282822-12-12 00:00:00.266  info  [GORM] SQL Executed duration=0.3ms caller=initialize/register.go:15 sql=SELECT * FROM `system` WHERE `category` = 'register' rows=8
282822-12-12 00:00:00.266  debug  Mobile config initialization caller=initialize/mobile.go:16
282822-12-12 00:00:00.267  info  [GORM] SQL Executed duration=0.3ms caller=initialize/mobile.go:17 sql=SELECT * FROM `auth_method` WHERE method = 'mobile' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282822-12-12 00:00:00.267  info  [GORM] SQL Executed duration=0.3ms caller=initialize/telegram.go:19 sql=SELECT * FROM `auth_method` WHERE method = 'telegram' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282823-12-12 00:00:00.162  info  Starting agent caller=trace/agent.go:46
282823-12-12 00:00:00.162  info  server start at 0.0.0.0:8080 caller=internal/server.go:87
282844-12-12 00:00:00.605  info  stop scheduler service caller=scheduler/scheduler.go:55
282844-12-12 00:00:00.607  info  stop consumer service caller=queue/queue.go:36
282844-12-12 00:00:00.607  info  server shutdown caller=internal/server.go:108
282846-12-12 00:00:00.026  info  start scheduler service caller=scheduler/scheduler.go:26
282846-12-12 00:00:00.026  info  start consumer service caller=queue/queue.go:23
282846-12-12 00:00:00.033  info  [Migrate] database not change caller=initialize/version.go:21
282846-12-12 00:00:00.033  debug  initialize site config caller=initialize/site.go:14
282846-12-12 00:00:00.034  info  [GORM] SQL Executed duration=0.8ms caller=initialize/site.go:15 sql=SELECT * FROM `system` WHERE `category` = 'site' rows=6
282846-12-12 00:00:00.035  debug  Node config initialization caller=initialize/node.go:16
282846-12-12 00:00:00.035  info  [GORM] SQL Executed duration=0.4ms caller=initialize/node.go:17 sql=SELECT * FROM `system` WHERE `category` = 'server' rows=9
282846-12-12 00:00:00.036  info  [GORM] SQL Executed duration=0.4ms caller=internal/server.go:69 sql=SELECT * FROM `system` WHERE `key` = 'NodeMultiplierConfig' rows=1
282846-12-12 00:00:00.036  info  [GORM] SQL Executed duration=0.5ms caller=initialize/node.go:70 sql=SELECT * FROM `system` WHERE `category` = 'server' AND `key` = 'NodeMultiplierConfig' rows=1
282846-12-12 00:00:00.036  debug  Email config initialization caller=initialize/email.go:17
282846-12-12 00:00:00.037  info  [GORM] SQL Executed duration=0.6ms caller=initialize/email.go:18 sql=SELECT * FROM `auth_method` WHERE method = 'email' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.037  debug  Register config initialization caller=initialize/invite.go:14
282846-12-12 00:00:00.038  info  [GORM] SQL Executed duration=0.3ms caller=initialize/invite.go:15 sql=SELECT * FROM `system` WHERE `category` = 'invite' rows=4
282846-12-12 00:00:00.038  debug  Verify config initialization caller=initialize/verify.go:22
282846-12-12 00:00:00.038  info  [GORM] SQL Executed duration=0.3ms caller=initialize/verify.go:23 rows=5 sql=SELECT * FROM `system` WHERE `category` = 'verify'
282846-12-12 00:00:00.039  debug  Verify code config initialization caller=initialize/verify.go:38
282846-12-12 00:00:00.039  info  [GORM] SQL Executed duration=0.3ms caller=initialize/verify.go:41 rows=3 sql=SELECT * FROM `system` WHERE `category` = 'verify_code'
282846-12-12 00:00:00.039  debug  Subscribe config initialization caller=initialize/subscribe.go:14
282846-12-12 00:00:00.039  info  [GORM] SQL Executed duration=0.3ms caller=initialize/subscribe.go:15 sql=SELECT * FROM `system` WHERE `category` = 'subscribe' rows=4
282846-12-12 00:00:00.040  debug  Register config initialization caller=initialize/register.go:14
282846-12-12 00:00:00.040  info  [GORM] SQL Executed duration=0.3ms caller=initialize/register.go:15 sql=SELECT * FROM `system` WHERE `category` = 'register' rows=8
282846-12-12 00:00:00.040  debug  Mobile config initialization caller=initialize/mobile.go:16
282846-12-12 00:00:00.040  info  [GORM] SQL Executed duration=0.3ms caller=initialize/mobile.go:17 sql=SELECT * FROM `auth_method` WHERE method = 'mobile' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.041  info  [GORM] SQL Executed duration=0.3ms caller=initialize/telegram.go:19 sql=SELECT * FROM `auth_method` WHERE method = 'telegram' ORDER BY `auth_method`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.834  info  Starting agent caller=trace/agent.go:46
282846-12-12 00:00:00.834  info  server start at 0.0.0.0:8080 caller=internal/server.go:87
282856-12-12 00:00:00.101  info  HTTP Request duration=3.583µs caller=middleware/loggerMiddleware.go:92 status=404 request=GET 127.0.0.1:8080/ query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=ca7e0343dbb916726c126257fc20f457 ip=127.0.0.1 span=8b09b409afa23624
282856-12-12 00:00:00.101  debug  404 Not Found: Host:127.0.0.1:8080 Path:/ IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=ca7e0343dbb916726c126257fc20f457 span=8b09b409afa23624
282856-12-12 00:00:00.112  info  HTTP Request duration=2.541µs caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/favicon.ico query= ip=127.0.0.1 trace=d52586c8baed2445023d210a58165fea user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=a616acef97b08717 status=404
282856-12-12 00:00:00.112  debug  404 Not Found: Host:127.0.0.1:8080 Path:/favicon.ico IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=d52586c8baed2445023d210a58165fea span=a616acef97b08717
282846-12-12 00:00:00.167  info  [CheckSubscription] Start check subscription: 2025-12-28 16:54:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.177  info  [GORM] SQL Executed duration=4.8ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.177  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.182  info  [GORM] SQL Executed duration=4.0ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:54:46.178' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.182  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.280  info  [CheckSubscription] Start check subscription: 2025-12-28 16:55:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.283  info  [GORM] SQL Executed duration=2.0ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.283  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.286  info  [GORM] SQL Executed duration=1.7ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:55:46.284' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.286  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
28282-12-12 00:00:00.657  info  HTTP Request duration=3.584µs caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=54f59fc8e929f273 request=OPTIONS 127.0.0.1:8080/v1/auth/login trace=8847d6f03a20dd75c60ad2fc996f4370 status=204 query=
28282-12-12 00:00:00.675  info  [GORM] SQL Executed duration=15.5ms caller=auth/userLoginLogic.go:68 sql=SELECT * FROM `user_auth_methods` WHERE `auth_type` = 'email' AND `auth_identifier` = 'kxswman@gmail.com' ORDER BY `user_auth_methods`.`id` LIMIT 1 trace=397e3dfa96c86a49f07878ec673a59e0 rows=1 span=02b0f54a26294041
28282-12-12 00:00:00.677  info  [GORM] SQL Executed duration=1.0ms caller=gorm@v1.25.12/callbacks.go:130 span=02b0f54a26294041 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 2 rows=1 trace=397e3dfa96c86a49f07878ec673a59e0
28282-12-12 00:00:00.677  info  [GORM] SQL Executed duration=0.6ms caller=gorm@v1.25.12/callbacks.go:130 rows=0 trace=397e3dfa96c86a49f07878ec673a59e0 span=02b0f54a26294041 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 2
28282-12-12 00:00:00.677  info  [GORM] SQL Executed duration=2.7ms caller=auth/userLoginLogic.go:68 sql=SELECT * FROM `user` WHERE `id` = 2 ORDER BY `user`.`id` LIMIT 1 rows=1 trace=397e3dfa96c86a49f07878ec673a59e0 span=02b0f54a26294041
28282-12-12 00:00:00.689  info  [GORM] SQL Executed duration=11.5ms caller=auth/userLoginHandler.go:42 sql=INSERT INTO `system_logs` (`type`,`object_id`,`content`,`created_at`,`date`) VALUES (30,2,'{"method":"email","login_ip":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36","success":false,"timestamp":1766969762678}','2025-12-29 08:56:02.678','2025-12-28') rows=1 trace=397e3dfa96c86a49f07878ec673a59e0 span=02b0f54a26294041
28282-12-12 00:00:00.689  info  HTTP Request duration=31.183542ms caller=middleware/loggerMiddleware.go:92 request=POST 127.0.0.1:8080/v1/auth/login query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request_body={"email":"kxswman@gmail.com","password":"***"} response_body={"code":20003,"msg":"User password error"} span=02b0f54a26294041 status=200 ip=127.0.0.1 trace=397e3dfa96c86a49f07878ec673a59e0
282846-12-12 00:00:00.228  info  [GORM] SQL Executed duration=7.3ms caller=auth/userLoginHandler.go:42 sql=INSERT INTO `system_logs` (`type`,`object_id`,`content`,`created_at`,`date`) VALUES (30,2,'{"method":"email","login_ip":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36","success":true,"timestamp":1766969806221}','2025-12-29 08:56:46.222','2025-12-28') rows=1 trace=53ac13bafca7e7148253bfcb743860c8 span=d4fd4b6bf47c9a8e
282846-12-12 00:00:00.229  info  HTTP Request duration=8.288ms caller=middleware/loggerMiddleware.go:92 status=200 request=POST 127.0.0.1:8080/v1/auth/login query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 response_body={"code":200,"msg":"success","data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTZXNzaW9uSWQiOiIwMTliNjc5Yi04ZDhkLTdlYTctODJhMi03ZTkwNWJiZDE5ZWEiLCJVc2VySWQiOjIsImV4cCI6MTc2NzU3NDYwNiwiaWF0IjoxNzY2OTY5ODA2fQ.88uqgG0ye1Cz0S0fhCi9uIkIhzjUa2WkR1XV89x4c74"}} trace=53ac13bafca7e7148253bfcb743860c8 request_body={"email":"kxswman@gmail.com","password":"***"} span=d4fd4b6bf47c9a8e
282846-12-12 00:00:00.392  info  [CheckSubscription] Start check subscription: 2025-12-28 16:56:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.393  info  [GORM] SQL Executed duration=0.7ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.393  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.394  info  [GORM] SQL Executed duration=0.7ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:56:46.393' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.394  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.434  info  HTTP Request duration=8.417µs caller=middleware/loggerMiddleware.go:92 trace=e4370a9f13002d653545bf04a35df2c6 span=433ad18ded8d59a6 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/console/revenue query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282846-12-12 00:00:00.434  info  HTTP Request duration=6.667µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/console/user query= trace=42fc78bc811cc4fa8b6c8710ec7f36cd span=43feda772000dd66 status=204 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282846-12-12 00:00:00.434  info  HTTP Request duration=6.5µs caller=middleware/loggerMiddleware.go:92 span=f3c3c99455ef63f6 status=204 ip=127.0.0.1 request=OPTIONS 127.0.0.1:8080/v1/admin/console/server query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=fce6ca39d2c6fef95829a01607a809df
282846-12-12 00:00:00.434  info  HTTP Request duration=5.042µs caller=middleware/loggerMiddleware.go:92 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request=OPTIONS 127.0.0.1:8080/v1/admin/console/ticket trace=002c9089f3dbef47ad61a6c95014c8a1 span=2ca070e1aff4f476 status=204 query= ip=127.0.0.1
282846-12-12 00:00:00.438  info  [GORM] SQL Executed duration=0.9ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 2 rows=1
282846-12-12 00:00:00.438  info  [GORM] SQL Executed duration=0.5ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 2 rows=0
282846-12-12 00:00:00.438  info  [GORM] SQL Executed duration=2.3ms caller=middleware/authMiddleware.go:65 sql=SELECT * FROM `user` WHERE `id` = 2 ORDER BY `user`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.439  info  [GORM] SQL Executed duration=0.4ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 2 rows=1
282846-12-12 00:00:00.439  info  [GORM] SQL Executed duration=0.3ms caller=gorm@v1.25.12/callbacks.go:130 rows=1 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 2
282846-12-12 00:00:00.439  info  [GORM] SQL Executed duration=0.5ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 2 rows=1
282846-12-12 00:00:00.439  info  [GORM] SQL Executed duration=0.3ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 2 rows=0
282846-12-12 00:00:00.439  info  [GORM] SQL Executed duration=2.9ms caller=middleware/authMiddleware.go:65 rows=1 sql=SELECT * FROM `user` WHERE `id` = 2 ORDER BY `user`.`id` LIMIT 1
282846-12-12 00:00:00.440  info  [GORM] SQL Executed duration=0.4ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 2 rows=0
282846-12-12 00:00:00.440  info  [GORM] SQL Executed duration=0.8ms caller=console/queryTicketWaitReplyLogic.go:27 rows=1 trace=3d224139efef14f2b923c63404702f8f sql=SELECT count(*) FROM `ticket` WHERE status = 1 span=76b53e5d8e4d61f5
282846-12-12 00:00:00.440  info  [GORM] SQL Executed duration=2.9ms caller=middleware/authMiddleware.go:65 sql=SELECT * FROM `user` WHERE `id` = 2 ORDER BY `user`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.440  info  HTTP Request duration=4.370167ms caller=middleware/loggerMiddleware.go:92 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=76b53e5d8e4d61f5 status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket ip=127.0.0.1 trace=3d224139efef14f2b923c63404702f8f
282846-12-12 00:00:00.440  info  [GORM] SQL Executed duration=0.4ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 2 rows=0
282846-12-12 00:00:00.440  info  [GORM] SQL Executed duration=3.1ms caller=middleware/authMiddleware.go:65 sql=SELECT * FROM `user` WHERE `id` = 2 ORDER BY `user`.`id` LIMIT 1 rows=1
282846-12-12 00:00:00.441  info  [GORM] SQL Executed duration=1.0ms caller=console/queryUserStatisticsLogic.go:36 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-29 08:00:00' and created_at < '2025-12-30 07:59:59' rows=1 span=7ec86ac112a4964d trace=c550293fc8eedd41aac3996db06f5738
282846-12-12 00:00:00.441  info  [GORM] SQL Executed duration=1.4ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-29 08:00:00' AND '2025-12-30 07:59:59.999' AND method != 'balance' rows=1 trace=e58ee98c9fe9303634be336aea34b9eb span=6ef15fa45375a74f
282846-12-12 00:00:00.442  info  [GORM] SQL Executed duration=1.0ms caller=console/queryUserStatisticsHandler.go:15 rows=1 span=7ec86ac112a4964d sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-28 16:00:00' AND created_at < '2025-12-29 16:00:00' AND method != 'balance' trace=c550293fc8eedd41aac3996db06f5738
282846-12-12 00:00:00.442  info  [GORM] SQL Executed duration=0.8ms caller=console/queryRevenueStatisticsHandler.go:15 rows=1 span=6ef15fa45375a74f trace=e58ee98c9fe9303634be336aea34b9eb sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-01 16:00:00' AND '2026-01-01 15:59:59.999' AND method != 'balance'
282846-12-12 00:00:00.442  info  [GORM] SQL Executed duration=0.4ms caller=console/queryUserStatisticsLogic.go:51 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-01 16:00:00' and created_at < '2026-01-01 15:59:59.999' rows=1 trace=c550293fc8eedd41aac3996db06f5738 span=7ec86ac112a4964d
282846-12-12 00:00:00.443  info  [GORM] SQL Executed duration=0.5ms caller=console/queryRevenueStatisticsHandler.go:15 trace=e58ee98c9fe9303634be336aea34b9eb span=6ef15fa45375a74f rows=12 sql=SELECT
DATE_FORMAT(created_at, '%Y-%m-%d') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2025-12-30 08:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d') ORDER BY date ASC
282846-12-12 00:00:00.443  info  [GORM] SQL Executed duration=0.4ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' trace=c550293fc8eedd41aac3996db06f5738 span=7ec86ac112a4964d rows=1
282846-12-12 00:00:00.444  info  [GORM] SQL Executed duration=0.8ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1 trace=e58ee98c9fe9303634be336aea34b9eb span=6ef15fa45375a74f
282846-12-12 00:00:00.444  info  [GORM] SQL Executed duration=1.5ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m-%d') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:56:46.44' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:56:46.44' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = r.date WHERE user.created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:56:46.44' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m-%d') ORDER BY date ASC rows=24 trace=c550293fc8eedd41aac3996db06f5738 span=7ec86ac112a4964d
282846-12-12 00:00:00.444  info  [GORM] SQL Executed duration=0.2ms caller=console/queryUserStatisticsLogic.go:85 rows=1 span=7ec86ac112a4964d trace=c550293fc8eedd41aac3996db06f5738 sql=SELECT count(*) FROM `user`
282846-12-12 00:00:00.445  info  [GORM] SQL Executed duration=1.0ms caller=console/queryRevenueStatisticsHandler.go:15 span=6ef15fa45375a74f trace=e58ee98c9fe9303634be336aea34b9eb sql=SELECT
DATE_FORMAT(created_at, '%Y-%m') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-07-01 15:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m') ORDER BY date ASC rows=4
282846-12-12 00:00:00.445  info  HTTP Request duration=9.373166ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/console/revenue query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=e58ee98c9fe9303634be336aea34b9eb status=200 span=6ef15fa45375a74f
282846-12-12 00:00:00.446  info  [GORM] SQL Executed duration=1.4ms caller=console/queryUserStatisticsHandler.go:15 trace=c550293fc8eedd41aac3996db06f5738 span=7ec86ac112a4964d sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1
282846-12-12 00:00:00.447  info  [GORM] SQL Executed duration=1.5ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at >= '2025-07-29 07:56:46.44' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at >= '2025-07-29 07:56:46.44' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m') = r.date WHERE user.created_at >= '2025-07-29 07:56:46.44' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m') ORDER BY date ASC trace=c550293fc8eedd41aac3996db06f5738 span=7ec86ac112a4964d rows=5
282846-12-12 00:00:00.447  info  HTTP Request duration=11.825917ms caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=7ec86ac112a4964d status=200 query= trace=c550293fc8eedd41aac3996db06f5738 request=GET 127.0.0.1:8080/v1/admin/console/user
282846-12-12 00:00:00.607  info  [GORM] SQL Executed duration=166.9ms caller=gin@v1.10.0/context.go:185 sql=SELECT user_id, subscribe_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY user_id, subscribe_id ORDER BY total DESC LIMIT 10 rows=10 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.740  info  [GORM] SQL Executed duration=132.0ms caller=gin@v1.10.0/context.go:185 sql=SELECT server_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY `server_id` ORDER BY total DESC LIMIT 10 rows=10 span=a9cb25de71e65b28 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.746  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` > '2025-12-29 08:51:46.44' rows=1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.747  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` <= '2025-12-29 08:51:46.44' OR `last_reported_at` IS NULL span=a9cb25de71e65b28 rows=1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.851  info  [GORM] SQL Executed duration=104.7ms caller=gin@v1.10.0/context.go:185 rows=1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT SUM(upload) AS upload, SUM(download) AS download FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' span=a9cb25de71e65b28
282846-12-12 00:00:00.860  info  HTTP Request duration=424.106375ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/server query= ip=127.0.0.1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282852-12-12 00:00:00.711  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=324afea2248be4c081b7f654b619c757 span=dd5c3b8479d8c09c
282852-12-12 00:00:00.711  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=6b6a5598ed64c91598978bd3e9c40ef1 span=677b477c2be3c34e
282852-12-12 00:00:00.711  info  HTTP Request duration=42.875µs caller=middleware/loggerMiddleware.go:92 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=324afea2248be4c081b7f654b619c757 status=200 request=GET 127.0.0.1:8080/v1/admin/console/revenue query= ip=127.0.0.1 span=dd5c3b8479d8c09c
282852-12-12 00:00:00.711  info  HTTP Request duration=18.459µs caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/user ip=127.0.0.1 trace=6b6a5598ed64c91598978bd3e9c40ef1 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=677b477c2be3c34e
282852-12-12 00:00:00.711  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=d200acaa201f037008e73c9ca35adb53 span=61379c74046a2ef5
282852-12-12 00:00:00.711  info  HTTP Request duration=30.417µs caller=middleware/loggerMiddleware.go:92 status=200 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=61379c74046a2ef5 request=GET 127.0.0.1:8080/v1/admin/console/server ip=127.0.0.1 trace=d200acaa201f037008e73c9ca35adb53
282852-12-12 00:00:00.711  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=904742e4b7f42ce977c5c3301708cb28 span=f8988aeb8260dc5b
282852-12-12 00:00:00.711  info  HTTP Request duration=17µs caller=middleware/loggerMiddleware.go:92 trace=904742e4b7f42ce977c5c3301708cb28 span=f8988aeb8260dc5b status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282857-12-12 00:00:00.162  info  [GORM] SQL Executed duration=4.3ms caller=auth/userLoginHandler.go:42 sql=INSERT INTO `system_logs` (`type`,`object_id`,`content`,`created_at`,`date`) VALUES (30,2,'{"method":"email","login_ip":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36","success":true,"timestamp":1766969817157}','2025-12-29 08:56:57.158','2025-12-28') rows=1 trace=70be8837c4f50e591eed3e34ea760dbc span=58240d757ca80ab3
282857-12-12 00:00:00.162  info  HTTP Request duration=5.317ms caller=middleware/loggerMiddleware.go:92 status=200 request=POST 127.0.0.1:8080/v1/auth/login user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request_body={"email":"kxswman@gmail.com","password":"***"} query= ip=127.0.0.1 response_body={"code":200,"msg":"success","data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTZXNzaW9uSWQiOiIwMTliNjc5Yi1iODQ1LTdlYTctOTFlMC0wMmQ2NjE0ZTM0MWMiLCJVc2VySWQiOjIsImV4cCI6MTc2NzU3NDYxNywiaWF0IjoxNzY2OTY5ODE3fQ.h5gSwbblzrob_bK65i6PE0NVXSZZhEnClQQeLcurU2k"}} trace=70be8837c4f50e591eed3e34ea760dbc span=58240d757ca80ab3
282857-12-12 00:00:00.275  info  [GORM] SQL Executed duration=0.6ms caller=console/queryUserStatisticsLogic.go:36 rows=1 trace=a70e18472f1055f16fcfab0362bd1c5b span=7d7cdd2b4f71b711 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-29 08:00:00' and created_at < '2025-12-30 07:59:59'
282857-12-12 00:00:00.275  info  [GORM] SQL Executed duration=0.6ms caller=console/queryTicketWaitReplyLogic.go:27 rows=1 span=a105243121b07b60 sql=SELECT count(*) FROM `ticket` WHERE status = 1 trace=2d8f3e2ee59eb04172950115c5223a54
282857-12-12 00:00:00.275  info  HTTP Request duration=1.207459ms caller=middleware/loggerMiddleware.go:92 trace=2d8f3e2ee59eb04172950115c5223a54 span=a105243121b07b60 status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 query= ip=127.0.0.1
282857-12-12 00:00:00.275  info  [GORM] SQL Executed duration=1.4ms caller=console/queryRevenueStatisticsHandler.go:15 span=efd628897aba3325 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-29 08:00:00' AND '2025-12-30 07:59:59.999' AND method != 'balance' rows=1 trace=3d8f753bb9c25b159af0cd8f2f2f771f
282857-12-12 00:00:00.278  info  [GORM] SQL Executed duration=2.8ms caller=console/queryUserStatisticsHandler.go:15 trace=a70e18472f1055f16fcfab0362bd1c5b sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-28 16:00:00' AND created_at < '2025-12-29 16:00:00' AND method != 'balance' span=7d7cdd2b4f71b711 rows=1
282857-12-12 00:00:00.278  info  [GORM] SQL Executed duration=2.4ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-01 16:00:00' AND '2026-01-01 15:59:59.999' AND method != 'balance' rows=1 trace=3d8f753bb9c25b159af0cd8f2f2f771f span=efd628897aba3325
282857-12-12 00:00:00.278  info  [GORM] SQL Executed duration=0.4ms caller=console/queryUserStatisticsLogic.go:51 rows=1 trace=a70e18472f1055f16fcfab0362bd1c5b span=7d7cdd2b4f71b711 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-01 16:00:00' and created_at < '2026-01-01 15:59:59.999'
282857-12-12 00:00:00.278  info  [GORM] SQL Executed duration=0.4ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(created_at, '%Y-%m-%d') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2025-12-30 08:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d') ORDER BY date ASC rows=12 trace=3d8f753bb9c25b159af0cd8f2f2f771f span=efd628897aba3325
282857-12-12 00:00:00.278  info  [GORM] SQL Executed duration=0.4ms caller=console/queryUserStatisticsHandler.go:15 span=7d7cdd2b4f71b711 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' rows=1 trace=a70e18472f1055f16fcfab0362bd1c5b
282857-12-12 00:00:00.279  info  [GORM] SQL Executed duration=0.5ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1 trace=3d8f753bb9c25b159af0cd8f2f2f771f span=efd628897aba3325
282857-12-12 00:00:00.279  info  [GORM] SQL Executed duration=0.7ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m-%d') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:56:57.274' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:56:57.274' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = r.date WHERE user.created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:56:57.274' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m-%d') ORDER BY date ASC rows=24 trace=a70e18472f1055f16fcfab0362bd1c5b span=7d7cdd2b4f71b711
282857-12-12 00:00:00.279  info  [GORM] SQL Executed duration=0.6ms caller=console/queryRevenueStatisticsHandler.go:15 trace=3d8f753bb9c25b159af0cd8f2f2f771f span=efd628897aba3325 sql=SELECT
DATE_FORMAT(created_at, '%Y-%m') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-07-01 15:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m') ORDER BY date ASC rows=4
282857-12-12 00:00:00.279  info  HTTP Request duration=5.957917ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/console/revenue query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=3d8f753bb9c25b159af0cd8f2f2f771f span=efd628897aba3325 status=200
282857-12-12 00:00:00.279  info  [GORM] SQL Executed duration=0.3ms caller=console/queryUserStatisticsLogic.go:85 sql=SELECT count(*) FROM `user` rows=1 trace=a70e18472f1055f16fcfab0362bd1c5b span=7d7cdd2b4f71b711
282857-12-12 00:00:00.280  info  [GORM] SQL Executed duration=0.4ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1 trace=a70e18472f1055f16fcfab0362bd1c5b span=7d7cdd2b4f71b711
282857-12-12 00:00:00.281  info  [GORM] SQL Executed duration=0.9ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at >= '2025-07-29 07:56:57.274' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at >= '2025-07-29 07:56:57.274' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m') = r.date WHERE user.created_at >= '2025-07-29 07:56:57.274' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m') ORDER BY date ASC rows=5 trace=a70e18472f1055f16fcfab0362bd1c5b span=7d7cdd2b4f71b711
282857-12-12 00:00:00.281  info  HTTP Request duration=7.310958ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/console/user ip=127.0.0.1 trace=a70e18472f1055f16fcfab0362bd1c5b span=7d7cdd2b4f71b711 status=200 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282857-12-12 00:00:00.430  info  [GORM] SQL Executed duration=155.5ms caller=gin@v1.10.0/context.go:185 sql=SELECT user_id, subscribe_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY user_id, subscribe_id ORDER BY total DESC LIMIT 10 trace=7020c167bf1a087382d7f1d7c57a3e60 rows=10 span=4aa98859fe771447
282857-12-12 00:00:00.561  info  [GORM] SQL Executed duration=130.1ms caller=gin@v1.10.0/context.go:185 sql=SELECT server_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY `server_id` ORDER BY total DESC LIMIT 10 rows=10 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.567  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` > '2025-12-29 08:51:57.274' rows=1 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.567  info  [GORM] SQL Executed duration=0.4ms caller=middleware/authMiddleware.go:83 trace=7020c167bf1a087382d7f1d7c57a3e60 rows=1 span=4aa98859fe771447 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` <= '2025-12-29 08:51:57.274' OR `last_reported_at` IS NULL
282857-12-12 00:00:00.668  info  [GORM] SQL Executed duration=100.5ms caller=gin@v1.10.0/context.go:185 sql=SELECT SUM(upload) AS upload, SUM(download) AS download FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' trace=7020c167bf1a087382d7f1d7c57a3e60 rows=1 span=4aa98859fe771447
282857-12-12 00:00:00.677  info  HTTP Request duration=403.154334ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/console/server query= ip=127.0.0.1 span=4aa98859fe771447 status=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=7020c167bf1a087382d7f1d7c57a3e60
282858-12-12 00:00:00.093  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=1c3d5c746141296132e383eec05666b1 span=3c97fcdcc49f6234
282858-12-12 00:00:00.093  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=d8109641b164c0d3e2ca73d0006c285a span=489b4e8ea655281a
282858-12-12 00:00:00.093  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=470c4fd05dabf573dabcef1fd80e1e3f span=a0f3e6b49d85b224
282858-12-12 00:00:00.093  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=402e7d96aaf024e4a748f0619e1f4dc7 span=808aad3b1572696f
282858-12-12 00:00:00.093  info  HTTP Request duration=42.416µs caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket query= ip=127.0.0.1 trace=402e7d96aaf024e4a748f0619e1f4dc7 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=808aad3b1572696f
282858-12-12 00:00:00.093  info  HTTP Request duration=63.792µs caller=middleware/loggerMiddleware.go:92 trace=1c3d5c746141296132e383eec05666b1 status=200 request=GET 127.0.0.1:8080/v1/admin/console/user query= span=3c97fcdcc49f6234 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282858-12-12 00:00:00.093  info  HTTP Request duration=45.584µs caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/server query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=470c4fd05dabf573dabcef1fd80e1e3f ip=127.0.0.1 span=a0f3e6b49d85b224
282858-12-12 00:00:00.093  info  HTTP Request duration=131.375µs caller=middleware/loggerMiddleware.go:92 status=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request=GET 127.0.0.1:8080/v1/admin/console/revenue query= trace=d8109641b164c0d3e2ca73d0006c285a span=489b4e8ea655281a
28282-12-12 00:00:00.009  info  HTTP Request duration=2.131209ms caller=middleware/loggerMiddleware.go:92 request=POST 127.0.0.1:8080/v1/auth/login query= ip=127.0.0.1 request_body={"email":"admin@ppanel.dev","password":"***"} trace=172c0620b3c03f0d71c12f88084612b5 status=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 response_body={"code":20002,"msg":"User does not exist"} span=10bedc5c56545d24
28288-12-12 00:00:00.729  info  [GORM] SQL Executed duration=5.0ms caller=auth/userLoginHandler.go:42 sql=INSERT INTO `system_logs` (`type`,`object_id`,`content`,`created_at`,`date`) VALUES (30,2,'{"method":"email","login_ip":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36","success":true,"timestamp":1766969828724}','2025-12-29 08:57:08.725','2025-12-28') rows=1 trace=2e06148be334c54caba2c224bc617603 span=f3d8fcc662e4f9eb
28288-12-12 00:00:00.729  info  HTTP Request duration=6.047833ms caller=middleware/loggerMiddleware.go:92 request_body={"email":"kxswman@gmail.com","password":"***"} span=f3d8fcc662e4f9eb status=200 request=POST 127.0.0.1:8080/v1/auth/login query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 response_body={"code":200,"msg":"success","data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTZXNzaW9uSWQiOiIwMTliNjc5Yi1lNTc0LTdlYTctOTc2NS05ZjlhZjIxNjY4NWUiLCJVc2VySWQiOjIsImV4cCI6MTc2NzU3NDYyOCwiaWF0IjoxNzY2OTY5ODI4fQ.gfztfavs1Vmid48vtcpZuBjrJbAd5WoYfB02klJBxb0"}} trace=2e06148be334c54caba2c224bc617603
28288-12-12 00:00:00.845  info  [GORM] SQL Executed duration=1.3ms caller=console/queryUserStatisticsLogic.go:36 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-29 08:00:00' and created_at < '2025-12-30 07:59:59' span=02f03785256101bc rows=1 trace=501c3a38bad8f3915f627d6e64814282
28288-12-12 00:00:00.845  info  [GORM] SQL Executed duration=1.2ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-29 08:00:00' AND '2025-12-30 07:59:59.999' AND method != 'balance' rows=1 trace=ccea36f3681f8620ad26338aac0c32e8 span=867558fea263c33a
28288-12-12 00:00:00.846  info  [GORM] SQL Executed duration=1.6ms caller=console/queryTicketWaitReplyLogic.go:27 sql=SELECT count(*) FROM `ticket` WHERE status = 1 rows=1 trace=d3523f9f8b9990ce26f2d6c5fd1315d2 span=98aa958be1d82a24
28288-12-12 00:00:00.846  info  HTTP Request duration=2.215292ms caller=middleware/loggerMiddleware.go:92 trace=d3523f9f8b9990ce26f2d6c5fd1315d2 status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=98aa958be1d82a24
28288-12-12 00:00:00.846  info  [GORM] SQL Executed duration=0.8ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-01 16:00:00' AND '2026-01-01 15:59:59.999' AND method != 'balance' span=867558fea263c33a rows=1 trace=ccea36f3681f8620ad26338aac0c32e8
28288-12-12 00:00:00.847  info  [GORM] SQL Executed duration=1.0ms caller=console/queryUserStatisticsHandler.go:15 rows=1 trace=501c3a38bad8f3915f627d6e64814282 span=02f03785256101bc sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-28 16:00:00' AND created_at < '2025-12-29 16:00:00' AND method != 'balance'
28288-12-12 00:00:00.849  info  [GORM] SQL Executed duration=2.4ms caller=console/queryUserStatisticsLogic.go:51 trace=501c3a38bad8f3915f627d6e64814282 span=02f03785256101bc sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-01 16:00:00' and created_at < '2026-01-01 15:59:59.999' rows=1
28288-12-12 00:00:00.849  info  [GORM] SQL Executed duration=2.9ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(created_at, '%Y-%m-%d') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2025-12-30 08:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d') ORDER BY date ASC trace=ccea36f3681f8620ad26338aac0c32e8 span=867558fea263c33a rows=12
28288-12-12 00:00:00.849  info  [GORM] SQL Executed duration=0.5ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' rows=1 span=02f03785256101bc trace=501c3a38bad8f3915f627d6e64814282
28288-12-12 00:00:00.850  info  [GORM] SQL Executed duration=0.3ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1 trace=ccea36f3681f8620ad26338aac0c32e8 span=867558fea263c33a
28288-12-12 00:00:00.850  info  [GORM] SQL Executed duration=0.7ms caller=console/queryUserStatisticsHandler.go:15 trace=501c3a38bad8f3915f627d6e64814282 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m-%d') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:57:08.844' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:57:08.844' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = r.date WHERE user.created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 08:57:08.844' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m-%d') ORDER BY date ASC span=02f03785256101bc rows=24
28288-12-12 00:00:00.850  info  [GORM] SQL Executed duration=0.6ms caller=console/queryRevenueStatisticsHandler.go:15 rows=4 span=867558fea263c33a sql=SELECT
DATE_FORMAT(created_at, '%Y-%m') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-07-01 15:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m') ORDER BY date ASC trace=ccea36f3681f8620ad26338aac0c32e8
28288-12-12 00:00:00.850  info  HTTP Request duration=6.70825ms caller=middleware/loggerMiddleware.go:92 status=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=867558fea263c33a request=GET 127.0.0.1:8080/v1/admin/console/revenue query= trace=ccea36f3681f8620ad26338aac0c32e8
28288-12-12 00:00:00.850  info  [GORM] SQL Executed duration=0.3ms caller=console/queryUserStatisticsLogic.go:85 trace=501c3a38bad8f3915f627d6e64814282 sql=SELECT count(*) FROM `user` rows=1 span=02f03785256101bc
28288-12-12 00:00:00.852  info  [GORM] SQL Executed duration=1.2ms caller=console/queryUserStatisticsHandler.go:15 rows=1 trace=501c3a38bad8f3915f627d6e64814282 span=02f03785256101bc sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND method != 'balance'
28288-12-12 00:00:00.853  info  [GORM] SQL Executed duration=1.2ms caller=console/queryUserStatisticsHandler.go:15 span=02f03785256101bc trace=501c3a38bad8f3915f627d6e64814282 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at >= '2025-07-29 07:57:08.844' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at >= '2025-07-29 07:57:08.844' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m') = r.date WHERE user.created_at >= '2025-07-29 07:57:08.844' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m') ORDER BY date ASC rows=5
28288-12-12 00:00:00.853  info  HTTP Request duration=9.421541ms caller=middleware/loggerMiddleware.go:92 span=02f03785256101bc user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=501c3a38bad8f3915f627d6e64814282 status=200 request=GET 127.0.0.1:8080/v1/admin/console/user query= ip=127.0.0.1
28289-12-12 00:00:00.004  info  [GORM] SQL Executed duration=159.6ms caller=gin@v1.10.0/context.go:185 sql=SELECT user_id, subscribe_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY user_id, subscribe_id ORDER BY total DESC LIMIT 10 rows=10 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.137  info  [GORM] SQL Executed duration=132.6ms caller=gin@v1.10.0/context.go:185 rows=10 trace=01f9372b374e7fffb135a755f5b3d310 sql=SELECT server_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY `server_id` ORDER BY total DESC LIMIT 10 span=707b3c756227e7d7
28289-12-12 00:00:00.142  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 rows=1 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` > '2025-12-29 08:52:08.844'
28289-12-12 00:00:00.143  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 rows=1 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` <= '2025-12-29 08:52:08.844' OR `last_reported_at` IS NULL trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.243  info  [GORM] SQL Executed duration=99.8ms caller=gin@v1.10.0/context.go:185 span=707b3c756227e7d7 sql=SELECT SUM(upload) AS upload, SUM(download) AS download FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' rows=1 trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.252  info  HTTP Request duration=408.826875ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/console/server query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=01f9372b374e7fffb135a755f5b3d310 status=200 ip=127.0.0.1 span=707b3c756227e7d7
282817-12-12 00:00:00.337  info  HTTP Request duration=3.667µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/auth-method/config?method=apple query=method=apple user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=3c0ec1a37076504d status=204 ip=127.0.0.1 trace=f59f5bb54ef56d618bca9f8d6dab3d06
282817-12-12 00:00:00.337  info  HTTP Request duration=4.917µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/auth-method/config?method=telegram user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=11d0c759b4769d1d3eda6f6c95088e6e span=4d28a2466c5c261e status=204 query=method=telegram ip=127.0.0.1
282817-12-12 00:00:00.337  info  HTTP Request duration=2.833µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/auth-method/config?method=github query=method=github ip=127.0.0.1 span=5bcad601a5628597 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=af3e9af157accb7b7ce18fd3dd108898
282817-12-12 00:00:00.337  info  HTTP Request duration=1.583µs caller=middleware/loggerMiddleware.go:92 status=204 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=d306a37bb67ce4d859acdefa3c0f5f52 span=5b7fd5d7c95c8450 request=OPTIONS 127.0.0.1:8080/v1/admin/auth-method/config?method=facebook query=method=facebook
282817-12-12 00:00:00.341  info  HTTP Request duration=3.236334ms caller=middleware/loggerMiddleware.go:92 status=200 ip=127.0.0.1 span=f632b1998def75b0 request=GET 127.0.0.1:8080/v1/admin/auth-method/config?method=telegram query=method=telegram user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=38079d3041fc9028ea091ab181b29951
282817-12-12 00:00:00.342  info  [GORM] SQL Executed duration=2.8ms caller=authMethod/getAuthMethodConfigLogic.go:31 span=b8a3515ce3473680 sql=SELECT * FROM `auth_method` WHERE method = 'facebook' ORDER BY `auth_method`.`id` LIMIT 1 rows=1 trace=3c192ba8388bd35016af27d081df79ff
282817-12-12 00:00:00.342  info  [GORM] SQL Executed duration=3.1ms caller=authMethod/getAuthMethodConfigLogic.go:31 sql=SELECT * FROM `auth_method` WHERE method = 'github' ORDER BY `auth_method`.`id` LIMIT 1 rows=1 trace=a7b80cc741ad250b80d2671eb6acda02 span=84b9b59481f7c973
282817-12-12 00:00:00.342  info  HTTP Request duration=4.664ms caller=middleware/loggerMiddleware.go:92 status=200 query=method=facebook ip=127.0.0.1 trace=3c192ba8388bd35016af27d081df79ff request=GET 127.0.0.1:8080/v1/admin/auth-method/config?method=facebook user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=b8a3515ce3473680
282817-12-12 00:00:00.343  info  [GORM] SQL Executed duration=3.5ms caller=authMethod/getAuthMethodConfigLogic.go:31 sql=SELECT * FROM `auth_method` WHERE method = 'apple' ORDER BY `auth_method`.`id` LIMIT 1 trace=9ce12ccf3fcfdca63db09670a7d3f369 rows=1 span=15079cd8b44deef9
282817-12-12 00:00:00.343  info  HTTP Request duration=4.893209ms caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 span=84b9b59481f7c973 status=200 request=GET 127.0.0.1:8080/v1/admin/auth-method/config?method=github user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=a7b80cc741ad250b80d2671eb6acda02 query=method=github
282817-12-12 00:00:00.346  info  HTTP Request duration=8.468833ms caller=middleware/loggerMiddleware.go:92 query=method=apple ip=127.0.0.1 trace=9ce12ccf3fcfdca63db09670a7d3f369 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=15079cd8b44deef9 status=200 request=GET 127.0.0.1:8080/v1/admin/auth-method/config?method=apple
282818-12-12 00:00:00.216  info  HTTP Request duration=6.875µs caller=middleware/loggerMiddleware.go:92 span=04be17e85dc16540 query=page=1&size=200 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/ads/list?page=1&size=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=17ab9de2fcb3882d62ffd397cc8b28ad
282818-12-12 00:00:00.219  info  [GORM] SQL Executed duration=1.2ms caller=ads/getAdsListLogic.go:31 rows=1 trace=7bd1b311a90f8ca9be6ada273430bed0 sql=SELECT count(*) FROM `ads` span=3730fe57c0551bb7
282818-12-12 00:00:00.220  info  [GORM] SQL Executed duration=0.7ms caller=ads/getAdsListLogic.go:31 span=3730fe57c0551bb7 sql=SELECT * FROM `ads` LIMIT 200 rows=0 trace=7bd1b311a90f8ca9be6ada273430bed0
282818-12-12 00:00:00.220  info  HTTP Request duration=3.185583ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/ads/list?page=1&size=200 ip=127.0.0.1 span=3730fe57c0551bb7 query=page=1&size=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=7bd1b311a90f8ca9be6ada273430bed0
282819-12-12 00:00:00.977  info  HTTP Request duration=4.917µs caller=middleware/loggerMiddleware.go:92 span=f6dc4d440b7ee883 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/tool/log query= trace=b13ede8aff4de90b52e4ef684e86a41b
282819-12-12 00:00:00.981  info  HTTP Request duration=3.490375ms caller=middleware/loggerMiddleware.go:92 status=200 query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7 request=GET 127.0.0.1:8080/v1/admin/tool/log
282821-12-12 00:00:00.104  info  HTTP Request duration=8.083µs caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 span=9a80f4141292b2b1 query=page=1&size=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=73c01dcc6ecb7d5d7851aead51bfa1b2 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/application/subscribe_application_list?page=1&size=200
282821-12-12 00:00:00.107  info  [GORM] SQL Executed duration=0.9ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `subscribe_application` rows=5 trace=d5d0821b5ef3756f553c6d462e29a6e1 span=c05148500f59d020
282821-12-12 00:00:00.108  info  HTTP Request duration=2.32325ms caller=middleware/loggerMiddleware.go:92 status=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=c05148500f59d020 request=GET 127.0.0.1:8080/v1/admin/application/subscribe_application_list?page=1&size=200 query=page=1&size=200 ip=127.0.0.1 trace=d5d0821b5ef3756f553c6d462e29a6e1
282821-12-12 00:00:00.939  info  HTTP Request duration=6.709µs caller=middleware/loggerMiddleware.go:92 trace=a3be8c96773fa8b9225472ca027196fb span=5ca15de4560eb08e status=204 query=page=1&size=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request=OPTIONS 127.0.0.1:8080/v1/admin/server/list?page=1&size=200 ip=127.0.0.1
282821-12-12 00:00:00.939  info  HTTP Request duration=9µs caller=middleware/loggerMiddleware.go:92 span=35964197e830a466 request=OPTIONS 127.0.0.1:8080/v1/admin/server/group/list query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=c8c25a1445904c42db57e828243a63d6 status=204 ip=127.0.0.1
282821-12-12 00:00:00.940  info  HTTP Request duration=3.834µs caller=middleware/loggerMiddleware.go:92 query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=fc2ea4be7ad66381 status=404 request=GET 127.0.0.1:8080/v1/admin/server/group/list trace=09eb03cbd1447f8f32c81e259b356ffd
282821-12-12 00:00:00.940  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/server/group/list IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=09eb03cbd1447f8f32c81e259b356ffd span=fc2ea4be7ad66381
282821-12-12 00:00:00.949  info  [GORM] SQL Executed duration=8.2ms caller=gin@v1.10.0/context.go:185 span=46a2aca4f6b21d9d sql=SELECT count(*) FROM `servers` rows=1 trace=81831bdd5fbeb1bf62b13825f9b57e0f
282821-12-12 00:00:00.951  info  [GORM] SQL Executed duration=1.9ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` ORDER BY sort ASC LIMIT 200 trace=81831bdd5fbeb1bf62b13825f9b57e0f span=46a2aca4f6b21d9d rows=0
282821-12-12 00:00:00.952  info  HTTP Request duration=11.849ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/server/list?page=1&size=200 query=page=1&size=200 span=46a2aca4f6b21d9d status=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=81831bdd5fbeb1bf62b13825f9b57e0f
282845-12-12 00:00:00.142  info  HTTP Request duration=11.333µs caller=middleware/loggerMiddleware.go:92 query= ip=127.0.0.1 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/subscribe/group/list user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=1aa197103c7ab3837518fe518bc5cded span=8fa23de168fd2a94
282845-12-12 00:00:00.142  info  HTTP Request duration=3.333µs caller=middleware/loggerMiddleware.go:92 span=fa714bcc6acd3239 status=204 query=page=1&size=9999 ip=127.0.0.1 trace=1a7f5db7c3e667b97f0a8ec689b82805 request=OPTIONS 127.0.0.1:8080/v1/admin/server/list?page=1&size=9999 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282845-12-12 00:00:00.142  info  HTTP Request duration=1.416µs caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=d08c91a5a83dd989ca308db06f425dad status=404 request=GET 127.0.0.1:8080/v1/admin/server/group/list query= span=3ca3f8536a5d8c5b
282845-12-12 00:00:00.142  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/server/group/list IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=d08c91a5a83dd989ca308db06f425dad span=3ca3f8536a5d8c5b
282845-12-12 00:00:00.142  info  HTTP Request duration=2.459µs caller=middleware/loggerMiddleware.go:92 trace=6cdb4c66a24a1025bf6b25c15099cc4f span=6a0f3723ab65b171 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/subscribe/list?page=1&size=200 query=page=1&size=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282845-12-12 00:00:00.143  info  HTTP Request duration=3.542µs caller=middleware/loggerMiddleware.go:92 span=d32d2c90a5a4392d status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/subscribe/group/list query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=87da90433244f421d24c7b8bc490ef96
282845-12-12 00:00:00.145  info  [GORM] SQL Executed duration=1.4ms caller=gin@v1.10.0/context.go:185 sql=SELECT count(*) FROM `servers` rows=1 span=7537e28b4b4f000b trace=4e89e30da916d9a660a53c1dbe13d0fa
282845-12-12 00:00:00.146  info  [GORM] SQL Executed duration=1.5ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` ORDER BY sort ASC LIMIT 9999 trace=4e89e30da916d9a660a53c1dbe13d0fa rows=0 span=7537e28b4b4f000b
282845-12-12 00:00:00.146  info  HTTP Request duration=3.787792ms caller=middleware/loggerMiddleware.go:92 query=page=1&size=9999 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=4e89e30da916d9a660a53c1dbe13d0fa span=7537e28b4b4f000b status=200 request=GET 127.0.0.1:8080/v1/admin/server/list?page=1&size=9999
282845-12-12 00:00:00.147  info  [GORM] SQL Executed duration=1.7ms caller=subscribe/model.go:128 rows=1 span=c0c8b060d31d9ae7 sql=SELECT count(*) FROM `subscribe` trace=ca4463e3660a405837c377768d1bad2f
282845-12-12 00:00:00.147  info  HTTP Request duration=4.490916ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/subscribe/group/list user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 query= ip=127.0.0.1 trace=f7cb04e2815dd33540404ed4531bb745 span=6c9398b325f5fa85
282845-12-12 00:00:00.147  info  [GORM] SQL Executed duration=0.7ms caller=subscribe/model.go:128 sql=SELECT * FROM `subscribe` ORDER BY sort ASC LIMIT 200 trace=ca4463e3660a405837c377768d1bad2f span=c0c8b060d31d9ae7 rows=4
282845-12-12 00:00:00.148  info  HTTP Request duration=965.125µs caller=middleware/loggerMiddleware.go:92 status=200 query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request=GET 127.0.0.1:8080/v1/admin/subscribe/group/list trace=0e0c1b04e9c81ea02d61ae0933355b0a span=74d81019c9be7b48
282845-12-12 00:00:00.150  info  [GORM] SQL Executed duration=1.8ms caller=subscribe/getSubscribeListHandler.go:23 sql=SELECT subscribe_id, COUNT(id) as total FROM `user_subscribe` WHERE subscribe_id IN (3,2,1,4) AND `status` IN (1,0) GROUP BY `subscribe_id` rows=3 span=c0c8b060d31d9ae7 trace=ca4463e3660a405837c377768d1bad2f
282845-12-12 00:00:00.150  info  HTTP Request duration=7.036166ms caller=middleware/loggerMiddleware.go:92 span=c0c8b060d31d9ae7 query=page=1&size=200 status=200 request=GET 127.0.0.1:8080/v1/admin/subscribe/list?page=1&size=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=ca4463e3660a405837c377768d1bad2f
282845-12-12 00:00:00.167  info  HTTP Request duration=1.125µs caller=middleware/loggerMiddleware.go:92 status=404 request=GET 127.0.0.1:8080/v1/admin/server/group/list user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=489cd16dae386a33064cad843bf163d8 query= ip=127.0.0.1 span=7e96488d6b362888
282845-12-12 00:00:00.167  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/server/group/list IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=489cd16dae386a33064cad843bf163d8 span=7e96488d6b362888
282845-12-12 00:00:00.168  info  HTTP Request duration=938.291µs caller=middleware/loggerMiddleware.go:92 status=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=1ad06eb3d5c545a1 request=GET 127.0.0.1:8080/v1/admin/subscribe/group/list query= trace=2b0b2644c8c538a646cefc9abf374846
282845-12-12 00:00:00.186  info  HTTP Request duration=1.833µs caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=0630415c751541b9f6ea1127edcaa3d9 span=7db30b9df24dcce4 status=404 request=GET 127.0.0.1:8080/v1/admin/server/group/list query=
282845-12-12 00:00:00.186  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/server/group/list IsPanDomain:false caller=middleware/loggerMiddleware.go:96 span=7db30b9df24dcce4 trace=0630415c751541b9f6ea1127edcaa3d9
282845-12-12 00:00:00.188  info  HTTP Request duration=1.623792ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/subscribe/group/list query= trace=fe6f8db1b3fd564f9ad041a5bd5c6951 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=ac65d163cdb07153
282846-12-12 00:00:00.502  info  [CheckSubscription] Start check subscription: 2025-12-28 16:57:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.504  info  [GORM] SQL Executed duration=0.9ms caller=user/default.go:156 rows=0 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0
282846-12-12 00:00:00.504  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.506  info  [GORM] SQL Executed duration=1.2ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:57:46.504' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.506  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282847-12-12 00:00:00.169  info  HTTP Request duration=4.958µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/system/application_config trace=fd6c725e27ffe613355f16856c20b9c5 status=204 query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=d054b9fc25dbb879
282847-12-12 00:00:00.169  info  HTTP Request duration=2.875µs caller=middleware/loggerMiddleware.go:92 trace=9690cbc207d3d66a3773621f0c4b596b span=9b6600323c83329c status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/system/application query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282847-12-12 00:00:00.169  info  HTTP Request duration=6.167µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/system/subscribe_type query= trace=f22b8a8cbab79c25493cc15ccc85fbb8 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=187fdda79063de63
282847-12-12 00:00:00.169  info  HTTP Request duration=4.916µs caller=middleware/loggerMiddleware.go:92 trace=88dcf3238157a703a56574769235551c span=66c1a7b49aadbd1e request=OPTIONS 127.0.0.1:8080/v1/admin/system/application ip=127.0.0.1 status=204 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282847-12-12 00:00:00.170  info  HTTP Request duration=3.25µs caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/system/application_config query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=0e0aff7b738ce9e48a1992a664b882ba status=404 span=5fb219685a2d5cfd
282847-12-12 00:00:00.170  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/system/application_config IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=0e0aff7b738ce9e48a1992a664b882ba span=5fb219685a2d5cfd
282847-12-12 00:00:00.170  info  HTTP Request duration=3.292µs caller=middleware/loggerMiddleware.go:92 trace=e424d8228f8f39bb23fcd0daf0981a4e span=6243b662fae0ddd1 status=404 request=GET 127.0.0.1:8080/v1/admin/system/subscribe_type query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282847-12-12 00:00:00.170  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/system/subscribe_type IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=e424d8228f8f39bb23fcd0daf0981a4e span=6243b662fae0ddd1
282847-12-12 00:00:00.170  info  HTTP Request duration=2.792µs caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/system/application ip=127.0.0.1 status=404 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=db15283a37d13eede0a956a709d1e64d span=30ffed49a4ca8c51
282847-12-12 00:00:00.170  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/system/application IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=db15283a37d13eede0a956a709d1e64d span=30ffed49a4ca8c51
282847-12-12 00:00:00.171  info  HTTP Request duration=1.834µs caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/system/application query= ip=127.0.0.1 span=e451c93dd36ed64c user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=21fa79130ef69f745239238cc95c3169 status=404
282847-12-12 00:00:00.171  debug  404 Not Found: Host:127.0.0.1:8080 Path:/v1/admin/system/application IsPanDomain:false caller=middleware/loggerMiddleware.go:96 trace=21fa79130ef69f745239238cc95c3169 span=e451c93dd36ed64c
282846-12-12 00:00:00.628  info  [CheckSubscription] Start check subscription: 2025-12-28 16:58:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.629  info  [GORM] SQL Executed duration=0.7ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.629  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.631  info  [GORM] SQL Executed duration=1.4ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:58:46.63' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.631  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.749  info  [CheckSubscription] Start check subscription: 2025-12-28 16:59:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.773  info  [GORM] SQL Executed duration=10.8ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.773  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.777  info  [GORM] SQL Executed duration=2.6ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 08:59:46.774' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.777  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.862  info  [CheckSubscription] Start check subscription: 2025-12-28 17:00:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.864  info  [GORM] SQL Executed duration=1.4ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.864  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.865  info  [GORM] SQL Executed duration=0.9ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 09:00:46.864' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.865  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.987  info  [CheckSubscription] Start check subscription: 2025-12-28 17:01:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.997  info  [GORM] SQL Executed duration=7.5ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.997  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282847-12-12 00:00:00.001  info  [GORM] SQL Executed duration=1.9ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 09:01:46.999' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282847-12-12 00:00:00.001  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.105  info  [CheckSubscription] Start check subscription: 2025-12-28 17:02:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.121  info  [GORM] SQL Executed duration=14.1ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.121  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.125  info  [GORM] SQL Executed duration=2.1ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 09:02:46.122' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.125  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.222  info  [CheckSubscription] Start check subscription: 2025-12-28 17:03:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.225  info  [GORM] SQL Executed duration=2.1ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.225  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.227  info  [GORM] SQL Executed duration=1.0ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 09:03:46.226' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.227  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282835-12-12 00:00:00.589  info  [GORM] SQL Executed duration=18.8ms caller=auth/userLoginHandler.go:42 sql=INSERT INTO `system_logs` (`type`,`object_id`,`content`,`created_at`,`date`) VALUES (30,2,'{"method":"email","login_ip":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36","success":true,"timestamp":1766970275570}','2025-12-29 09:04:35.571','2025-12-28') trace=f686e601845df95950466e313e1b67b9 rows=1 span=aa9e39a2ca3c9a16
282835-12-12 00:00:00.589  info  HTTP Request duration=20.460167ms caller=middleware/loggerMiddleware.go:92 status=200 request=POST 127.0.0.1:8080/v1/auth/login trace=f686e601845df95950466e313e1b67b9 span=aa9e39a2ca3c9a16 query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request_body={"email":"kxswman@gmail.com","password":"***"} response_body={"code":200,"msg":"success","data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTZXNzaW9uSWQiOiIwMTliNjdhMi1iNmYyLTdlYTctYWEzYS0zOTIxMGVjN2VkNGQiLCJVc2VySWQiOjIsImV4cCI6MTc2NzU3NTA3NSwiaWF0IjoxNzY2OTcwMjc1fQ.jq-qLK7MDKFzu3yU2EG0viSo0UXsY2--mlhx9bTgHVo"}}
282837-12-12 00:00:00.475  info  HTTP Request duration=11.041µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/tool/version user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=d5808e5794fc1611 status=204 query= ip=127.0.0.1 trace=b1ac428ef41dbc0f5a9e84f95eb347eb
282837-12-12 00:00:00.482  info  HTTP Request duration=5.900292ms caller=middleware/loggerMiddleware.go:92 status=200 query= ip=127.0.0.1 span=55205e74597c8f61 request=GET 127.0.0.1:8080/v1/admin/tool/version user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=0ae73032d37b29ad001c32bed0314d29
282837-12-12 00:00:00.482  info  [GORM] SQL Executed duration=4.1ms caller=console/queryTicketWaitReplyLogic.go:27 trace=5891413310deb9b1cf2cae833c7b4a1a sql=SELECT count(*) FROM `ticket` WHERE status = 1 span=2bb60061854934e1 rows=1
282837-12-12 00:00:00.482  info  [GORM] SQL Executed duration=4.5ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-29 08:00:00' AND '2025-12-30 07:59:59.999' AND method != 'balance' rows=1 trace=a749b08e38a835d209a5e0328e84f608 span=4422dcbca551f701
282837-12-12 00:00:00.482  info  [GORM] SQL Executed duration=4.4ms caller=console/queryUserStatisticsLogic.go:36 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-29 08:00:00' and created_at < '2025-12-30 07:59:59' rows=1 trace=f060941291a38c4a66f288e2b7eccb2d span=a4fcd3405e192254
282837-12-12 00:00:00.482  info  HTTP Request duration=7.175083ms caller=middleware/loggerMiddleware.go:92 span=2bb60061854934e1 status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=5891413310deb9b1cf2cae833c7b4a1a
282837-12-12 00:00:00.484  info  [GORM] SQL Executed duration=2.0ms caller=console/queryRevenueStatisticsHandler.go:15 rows=1 span=4422dcbca551f701 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-01 16:00:00' AND '2026-01-01 15:59:59.999' AND method != 'balance' trace=a749b08e38a835d209a5e0328e84f608
282837-12-12 00:00:00.485  info  [GORM] SQL Executed duration=2.0ms caller=console/queryUserStatisticsHandler.go:15 rows=1 span=a4fcd3405e192254 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-28 16:00:00' AND created_at < '2025-12-29 16:00:00' AND method != 'balance' trace=f060941291a38c4a66f288e2b7eccb2d
282837-12-12 00:00:00.500  info  [GORM] SQL Executed duration=15.5ms caller=console/queryUserStatisticsLogic.go:51 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-01 16:00:00' and created_at < '2026-01-01 15:59:59.999' rows=1 trace=f060941291a38c4a66f288e2b7eccb2d span=a4fcd3405e192254
282837-12-12 00:00:00.500  info  [GORM] SQL Executed duration=15.7ms caller=console/queryRevenueStatisticsHandler.go:15 rows=12 sql=SELECT
DATE_FORMAT(created_at, '%Y-%m-%d') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2025-12-30 08:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d') ORDER BY date ASC trace=a749b08e38a835d209a5e0328e84f608 span=4422dcbca551f701
282837-12-12 00:00:00.505  info  [GORM] SQL Executed duration=4.2ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1 trace=a749b08e38a835d209a5e0328e84f608 span=4422dcbca551f701
282837-12-12 00:00:00.505  info  [GORM] SQL Executed duration=4.6ms caller=console/queryUserStatisticsHandler.go:15 trace=f060941291a38c4a66f288e2b7eccb2d span=a4fcd3405e192254 rows=1 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance'
282837-12-12 00:00:00.505  info  [GORM] SQL Executed duration=0.7ms caller=console/queryRevenueStatisticsHandler.go:15 trace=a749b08e38a835d209a5e0328e84f608 sql=SELECT
DATE_FORMAT(created_at, '%Y-%m') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-07-01 15:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m') ORDER BY date ASC rows=4 span=4422dcbca551f701
282837-12-12 00:00:00.505  info  HTTP Request duration=30.204791ms caller=middleware/loggerMiddleware.go:92 trace=a749b08e38a835d209a5e0328e84f608 span=4422dcbca551f701 status=200 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request=GET 127.0.0.1:8080/v1/admin/console/revenue ip=127.0.0.1
282837-12-12 00:00:00.508  info  [GORM] SQL Executed duration=3.1ms caller=console/queryUserStatisticsHandler.go:15 rows=24 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m-%d') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 09:04:37.478' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 09:04:37.478' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = r.date WHERE user.created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 09:04:37.478' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m-%d') ORDER BY date ASC trace=f060941291a38c4a66f288e2b7eccb2d span=a4fcd3405e192254
282837-12-12 00:00:00.508  info  [GORM] SQL Executed duration=0.2ms caller=console/queryUserStatisticsLogic.go:85 rows=1 trace=f060941291a38c4a66f288e2b7eccb2d span=a4fcd3405e192254 sql=SELECT count(*) FROM `user`
282837-12-12 00:00:00.509  info  [GORM] SQL Executed duration=0.4ms caller=console/queryUserStatisticsHandler.go:15 trace=f060941291a38c4a66f288e2b7eccb2d span=a4fcd3405e192254 rows=1 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND method != 'balance'
282837-12-12 00:00:00.510  info  [GORM] SQL Executed duration=1.0ms caller=console/queryUserStatisticsHandler.go:15 trace=f060941291a38c4a66f288e2b7eccb2d span=a4fcd3405e192254 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at >= '2025-07-29 08:04:37.478' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at >= '2025-07-29 08:04:37.478' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m') = r.date WHERE user.created_at >= '2025-07-29 08:04:37.478' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m') ORDER BY date ASC rows=5
282837-12-12 00:00:00.510  info  HTTP Request duration=34.438542ms caller=middleware/loggerMiddleware.go:92 span=a4fcd3405e192254 request=GET 127.0.0.1:8080/v1/admin/console/user query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=f060941291a38c4a66f288e2b7eccb2d status=200 ip=127.0.0.1
282837-12-12 00:00:00.666  info  [GORM] SQL Executed duration=188.1ms caller=gin@v1.10.0/context.go:185 rows=10 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT user_id, subscribe_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY user_id, subscribe_id ORDER BY total DESC LIMIT 10
282837-12-12 00:00:00.801  info  [GORM] SQL Executed duration=134.6ms caller=gin@v1.10.0/context.go:185 sql=SELECT server_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY `server_id` ORDER BY total DESC LIMIT 10 rows=10 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.806  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` > '2025-12-29 08:59:37.478' span=db2d2f7fd3888c84 rows=1 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.807  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` <= '2025-12-29 08:59:37.478' OR `last_reported_at` IS NULL rows=1 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.909  info  [GORM] SQL Executed duration=102.1ms caller=gin@v1.10.0/context.go:185 rows=1 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT SUM(upload) AS upload, SUM(download) AS download FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59'
282837-12-12 00:00:00.920  info  HTTP Request duration=444.726916ms caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=db2d2f7fd3888c84 status=200 request=GET 127.0.0.1:8080/v1/admin/console/server query= trace=32ea5e0fbf79c7c0b33856d3357d363a
282839-12-12 00:00:00.113  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=40654d2d8535efbe9266e1179de8947d span=babcff7f75fd2a50
282839-12-12 00:00:00.113  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=3418d716de9f05d36967e3bf50797421 span=3bea879db413a196
282839-12-12 00:00:00.113  info  HTTP Request duration=75.666µs caller=middleware/loggerMiddleware.go:92 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=3418d716de9f05d36967e3bf50797421 span=3bea879db413a196 status=200 request=GET 127.0.0.1:8080/v1/admin/console/user query= ip=127.0.0.1
282839-12-12 00:00:00.113  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=6029d2fc47a710e27887367ee53f439b span=8e7f34283364ee6b
282839-12-12 00:00:00.113  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 span=0e2c514072080f3d trace=cd4f7977a150c6c9604a205c0329ce3d
282839-12-12 00:00:00.113  info  HTTP Request duration=52.042µs caller=middleware/loggerMiddleware.go:92 trace=cd4f7977a150c6c9604a205c0329ce3d ip=127.0.0.1 span=0e2c514072080f3d status=200 request=GET 127.0.0.1:8080/v1/admin/console/revenue query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282839-12-12 00:00:00.113  info  HTTP Request duration=106.917µs caller=middleware/loggerMiddleware.go:92 span=8e7f34283364ee6b ip=127.0.0.1 status=200 request=GET 127.0.0.1:8080/v1/admin/console/server query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=6029d2fc47a710e27887367ee53f439b
282839-12-12 00:00:00.113  info  HTTP Request duration=172.458µs caller=middleware/loggerMiddleware.go:92 status=200 trace=40654d2d8535efbe9266e1179de8947d span=babcff7f75fd2a50 request=GET 127.0.0.1:8080/v1/admin/tool/version query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282839-12-12 00:00:00.113  debug  [AuthMiddleware] Token Empty caller=middleware/authMiddleware.go:30 trace=f951681c4bde365a3f9c7a56f1d38598 span=3cd273732f33fb18
282839-12-12 00:00:00.113  info  HTTP Request duration=47.625µs caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket ip=127.0.0.1 trace=f951681c4bde365a3f9c7a56f1d38598 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=3cd273732f33fb18
282842-12-12 00:00:00.821  info  [GORM] SQL Executed duration=5.7ms caller=auth/userLoginHandler.go:42 span=49ce18fa7b2a14fe rows=1 sql=INSERT INTO `system_logs` (`type`,`object_id`,`content`,`created_at`,`date`) VALUES (30,2,'{"method":"email","login_ip":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36","success":true,"timestamp":1766970282815}','2025-12-29 09:04:42.816','2025-12-28') trace=5d45a9b9875223982be95cd3bb18d4e3
282842-12-12 00:00:00.821  info  HTTP Request duration=6.628542ms caller=middleware/loggerMiddleware.go:92 response_body={"code":200,"msg":"success","data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTZXNzaW9uSWQiOiIwMTliNjdhMi1kMzNmLTdlYTctODFjMy1kZDFkZDAxNzg0N2YiLCJVc2VySWQiOjIsImV4cCI6MTc2NzU3NTA4MiwiaWF0IjoxNzY2OTcwMjgyfQ.3WTbttALKQTLyPhJ8ma7Di-6_v4rSPPYDWb8veuyfL8"}} trace=5d45a9b9875223982be95cd3bb18d4e3 request_body={"email":"kxswman@gmail.com","password":"***"} span=49ce18fa7b2a14fe status=200 request=POST 127.0.0.1:8080/v1/auth/login query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282843-12-12 00:00:00.895  info  HTTP Request duration=3.961458ms caller=middleware/loggerMiddleware.go:92 trace=5f17c8c3666283ae7d9fe85ed3bdc0e5 status=200 query= ip=127.0.0.1 span=688e30a86972ebe3 request=GET 127.0.0.1:8080/v1/admin/tool/version user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282843-12-12 00:00:00.897  info  [GORM] SQL Executed duration=1.5ms caller=console/queryUserStatisticsLogic.go:36 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-29 08:00:00' and created_at < '2025-12-30 07:59:59' trace=07d670f7add4e4c926c62d8dded5c0b2 span=7b21bdeee40f6fd4 rows=1
282843-12-12 00:00:00.897  info  [GORM] SQL Executed duration=1.8ms caller=console/queryRevenueStatisticsHandler.go:15 rows=1 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-29 08:00:00' AND '2025-12-30 07:59:59.999' AND method != 'balance' trace=a973afb9e77e0dc1f9c7b699862a3e4a span=4cf76187a83a3365
282843-12-12 00:00:00.898  info  [GORM] SQL Executed duration=0.6ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT SUM(amount) as amount_total, SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) as new_order_amount, SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) as renewal_order_amount FROM `order` WHERE status IN (2,5) AND created_at BETWEEN '2025-12-01 16:00:00' AND '2026-01-01 15:59:59.999' AND method != 'balance' rows=1 trace=a973afb9e77e0dc1f9c7b699862a3e4a span=4cf76187a83a3365
282843-12-12 00:00:00.898  info  [GORM] SQL Executed duration=2.5ms caller=console/queryTicketWaitReplyLogic.go:27 trace=1413852dcd97ea0bd91b829fb0eed1ac span=c4781fbfdd75ed12 sql=SELECT count(*) FROM `ticket` WHERE status = 1 rows=1
282843-12-12 00:00:00.898  info  HTTP Request duration=6.318375ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/ticket query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=c4781fbfdd75ed12 trace=1413852dcd97ea0bd91b829fb0eed1ac
282843-12-12 00:00:00.898  info  [GORM] SQL Executed duration=1.1ms caller=console/queryUserStatisticsHandler.go:15 rows=1 trace=07d670f7add4e4c926c62d8dded5c0b2 span=7b21bdeee40f6fd4 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-28 16:00:00' AND created_at < '2025-12-29 16:00:00' AND method != 'balance'
282843-12-12 00:00:00.899  info  [GORM] SQL Executed duration=0.7ms caller=console/queryUserStatisticsLogic.go:51 sql=SELECT count(*) FROM `user` WHERE created_at > '2025-12-01 16:00:00' and created_at < '2026-01-01 15:59:59.999' rows=1 trace=07d670f7add4e4c926c62d8dded5c0b2 span=7b21bdeee40f6fd4
282843-12-12 00:00:00.899  info  [GORM] SQL Executed duration=1.0ms caller=console/queryRevenueStatisticsHandler.go:15 span=4cf76187a83a3365 rows=12 trace=a973afb9e77e0dc1f9c7b699862a3e4a sql=SELECT
DATE_FORMAT(created_at, '%Y-%m-%d') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2025-12-30 08:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d') ORDER BY date ASC
282843-12-12 00:00:00.900  info  [GORM] SQL Executed duration=0.7ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-12-01 16:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' rows=1 span=7b21bdeee40f6fd4 trace=07d670f7add4e4c926c62d8dded5c0b2
282843-12-12 00:00:00.900  info  [GORM] SQL Executed duration=0.7ms caller=console/queryRevenueStatisticsHandler.go:15 sql=SELECT
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1 trace=a973afb9e77e0dc1f9c7b699862a3e4a span=4cf76187a83a3365
282843-12-12 00:00:00.904  info  [GORM] SQL Executed duration=4.0ms caller=console/queryRevenueStatisticsHandler.go:15 rows=4 span=4cf76187a83a3365 sql=SELECT
DATE_FORMAT(created_at, '%Y-%m') AS date,
SUM(amount) AS amount_total,
SUM(CASE WHEN is_new = 1 THEN amount ELSE 0 END) AS new_order_amount,
SUM(CASE WHEN is_new = 0 THEN amount ELSE 0 END) AS renewal_order_amount
FROM `order` WHERE status IN (2,5) AND created_at >= '2025-07-01 15:00:00' AND created_at < '2026-01-01 16:00:00' AND method != 'balance' GROUP BY DATE_FORMAT(created_at, '%Y-%m') ORDER BY date ASC trace=a973afb9e77e0dc1f9c7b699862a3e4a
282843-12-12 00:00:00.904  info  [GORM] SQL Executed duration=4.0ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m-%d') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 09:04:43.895' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m-%d') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 09:04:43.895' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m-%d')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m-%d') = r.date WHERE user.created_at BETWEEN '2025-12-01 16:00:00' AND '2025-12-29 09:04:43.895' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m-%d') ORDER BY date ASC rows=24 trace=07d670f7add4e4c926c62d8dded5c0b2 span=7b21bdeee40f6fd4
282843-12-12 00:00:00.904  info  HTTP Request duration=12.06825ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/revenue query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=a973afb9e77e0dc1f9c7b699862a3e4a span=4cf76187a83a3365
282843-12-12 00:00:00.905  info  [GORM] SQL Executed duration=1.2ms caller=console/queryUserStatisticsLogic.go:85 rows=1 trace=07d670f7add4e4c926c62d8dded5c0b2 sql=SELECT count(*) FROM `user` span=7b21bdeee40f6fd4
282843-12-12 00:00:00.908  info  [GORM] SQL Executed duration=3.1ms caller=console/queryUserStatisticsHandler.go:15 trace=07d670f7add4e4c926c62d8dded5c0b2 span=7b21bdeee40f6fd4 sql=SELECT
COUNT(DISTINCT CASE WHEN is_new = 1 THEN user_id END) AS new_users,
COUNT(DISTINCT CASE WHEN is_new = 0 THEN user_id END) AS renewal_users
FROM `order` WHERE status IN (2,5) AND method != 'balance' rows=1
282843-12-12 00:00:00.915  info  [GORM] SQL Executed duration=6.9ms caller=console/queryUserStatisticsHandler.go:15 sql=SELECT
DATE_FORMAT(user.created_at, '%Y-%m') AS date,
COUNT(*) AS register,
IFNULL(MAX(n.new_order_users), 0) AS new_order_users,
IFNULL(MAX(r.renewal_order_users), 0) AS renewal_order_users
FROM `user` LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS new_order_users FROM `order` WHERE is_new = 1 AND created_at >= '2025-07-29 08:04:43.895' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS n ON DATE_FORMAT(user.created_at, '%Y-%m') = n.date LEFT JOIN (SELECT DATE_FORMAT(created_at, '%Y-%m') AS date, COUNT(DISTINCT user_id) AS renewal_order_users FROM `order` WHERE is_new = 0 AND created_at >= '2025-07-29 08:04:43.895' AND status IN (2,5) GROUP BY DATE_FORMAT(created_at, '%Y-%m')) AS r ON DATE_FORMAT(user.created_at, '%Y-%m') = r.date WHERE user.created_at >= '2025-07-29 08:04:43.895' GROUP BY DATE_FORMAT(user.created_at, '%Y-%m') ORDER BY date ASC trace=07d670f7add4e4c926c62d8dded5c0b2 rows=5 span=7b21bdeee40f6fd4
282843-12-12 00:00:00.915  info  HTTP Request duration=23.722375ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/console/user ip=127.0.0.1 trace=07d670f7add4e4c926c62d8dded5c0b2 query= user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=7b21bdeee40f6fd4
282844-12-12 00:00:00.039  info  HTTP Request duration=751.375µs caller=middleware/loggerMiddleware.go:92 trace=06815c1ba38b1ae02c73b3452ab7b58d span=8f92a6793a46a5c8 status=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 request=GET 127.0.0.1:8080/v1/admin/tool/version query=
282844-12-12 00:00:00.081  info  [GORM] SQL Executed duration=186.0ms caller=gin@v1.10.0/context.go:185 sql=SELECT user_id, subscribe_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY user_id, subscribe_id ORDER BY total DESC LIMIT 10 rows=10 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.219  info  [GORM] SQL Executed duration=136.5ms caller=gin@v1.10.0/context.go:185 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 sql=SELECT server_id, SUM(download + upload) AS total, SUM(download) AS download, SUM(upload) AS upload FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' GROUP BY `server_id` ORDER BY total DESC LIMIT 10 rows=10
282844-12-12 00:00:00.224  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` > '2025-12-29 08:59:43.895' rows=1
282844-12-12 00:00:00.224  info  [GORM] SQL Executed duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `servers` WHERE `last_reported_at` <= '2025-12-29 08:59:43.895' OR `last_reported_at` IS NULL rows=1 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.329  info  [GORM] SQL Executed duration=104.4ms caller=gin@v1.10.0/context.go:185 sql=SELECT SUM(upload) AS upload, SUM(download) AS download FROM `traffic_log` WHERE timestamp BETWEEN '2025-12-28 16:00:00' AND '2025-12-29 15:59:59' rows=1 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.338  info  HTTP Request duration=446.188167ms caller=middleware/loggerMiddleware.go:92 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 query= ip=127.0.0.1 status=200 request=GET 127.0.0.1:8080/v1/admin/console/server user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282846-12-12 00:00:00.337  info  [CheckSubscription] Start check subscription: 2025-12-28 17:04:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.342  info  [GORM] SQL Executed duration=2.6ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.342  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.346  info  [GORM] SQL Executed duration=2.3ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 09:04:46.343' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.346  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282850-12-12 00:00:00.247  info  HTTP Request duration=4.834µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/server/list?page=1&size=999999999 query=page=1&size=999999999 trace=24534d158fce1721e485b5283a21bcac status=204 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=d4945bc7a01227f5
282850-12-12 00:00:00.247  info  HTTP Request duration=2.917µs caller=middleware/loggerMiddleware.go:92 status=204 span=ad4dadef897bc5a9 request=OPTIONS 127.0.0.1:8080/v1/admin/server/node/list?page=1&size=999999999 query=page=1&size=999999999 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=499d5bbe4f6b6a9d652d76bc84c71116
282850-12-12 00:00:00.247  info  HTTP Request duration=3.166µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/server/node/tags ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 query= trace=e093b22701dbb010e0707090b51a173f span=1c39b1006690e2de
282850-12-12 00:00:00.251  info  [GORM] SQL Executed duration=2.2ms caller=gin@v1.10.0/context.go:185 rows=1 trace=e197c322b442fa4c0c8a0fb507dfb4e9 sql=SELECT count(*) FROM `servers` span=0be62cbd6fda0f87
282850-12-12 00:00:00.251  info  [GORM] SQL Executed duration=2.4ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `nodes` rows=0 trace=7d785ea9fa61b7f2a12acad24fce1fc4 span=b95c35006d75ea4a
282850-12-12 00:00:00.251  info  [GORM] SQL Executed duration=2.2ms caller=gin@v1.10.0/context.go:185 sql=SELECT count(*) FROM `nodes` trace=9482a79f3e42b87f3184a3bd2b17377c rows=1 span=d91e2d692c77d9a9
282850-12-12 00:00:00.251  info  HTTP Request duration=3.233ms caller=middleware/loggerMiddleware.go:92 trace=7d785ea9fa61b7f2a12acad24fce1fc4 request=GET 127.0.0.1:8080/v1/admin/server/node/tags query= ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=b95c35006d75ea4a status=200
282850-12-12 00:00:00.252  info  [GORM] SQL Executed duration=1.2ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `nodes` ORDER BY sort ASC LIMIT 999999999 trace=9482a79f3e42b87f3184a3bd2b17377c rows=0 span=d91e2d692c77d9a9
282850-12-12 00:00:00.252  info  [GORM] SQL Executed duration=1.2ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` ORDER BY sort ASC LIMIT 999999999 trace=e197c322b442fa4c0c8a0fb507dfb4e9 span=0be62cbd6fda0f87 rows=0
282850-12-12 00:00:00.252  info  HTTP Request duration=4.534917ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/server/list?page=1&size=999999999 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=200 query=page=1&size=999999999 trace=e197c322b442fa4c0c8a0fb507dfb4e9 span=0be62cbd6fda0f87
282850-12-12 00:00:00.252  info  HTTP Request duration=4.486041ms caller=middleware/loggerMiddleware.go:92 query=page=1&size=999999999 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=9482a79f3e42b87f3184a3bd2b17377c span=d91e2d692c77d9a9 status=200 request=GET 127.0.0.1:8080/v1/admin/server/node/list?page=1&size=999999999 ip=127.0.0.1
282850-12-12 00:00:00.281  info  HTTP Request duration=9.208µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/server/node/list?page=1&size=10 ip=127.0.0.1 span=c77ecab289571e02 query=page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=6019926ff9ceaf0eb88c4937fe34fe8b
282850-12-12 00:00:00.284  info  [GORM] SQL Executed duration=1.0ms caller=gin@v1.10.0/context.go:185 trace=6b3895fd50a3ab83691c1bed466eac35 span=b7ec6bbb13dc1d84 sql=SELECT count(*) FROM `nodes` rows=1
282850-12-12 00:00:00.289  info  [GORM] SQL Executed duration=4.4ms caller=gin@v1.10.0/context.go:185 rows=0 trace=6b3895fd50a3ab83691c1bed466eac35 sql=SELECT * FROM `nodes` ORDER BY sort ASC LIMIT 10 span=b7ec6bbb13dc1d84
282850-12-12 00:00:00.289  info  HTTP Request duration=6.749ms caller=middleware/loggerMiddleware.go:92 trace=6b3895fd50a3ab83691c1bed466eac35 span=b7ec6bbb13dc1d84 status=200 request=GET 127.0.0.1:8080/v1/admin/server/node/list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282851-12-12 00:00:00.879  info  HTTP Request duration=3.875µs caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 trace=4964c71fef84fd6fc93934307622142f span=92a59cc975a18835 request=OPTIONS 127.0.0.1:8080/v1/admin/server/list?page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=204 query=page=1&size=10
282851-12-12 00:00:00.886  info  [GORM] SQL Executed duration=5.0ms caller=gin@v1.10.0/context.go:185 sql=SELECT count(*) FROM `servers` rows=1 span=3cd72ba9c08d25bc trace=fd326e161b307aa14ec8d1133951a3c7
282851-12-12 00:00:00.887  info  [GORM] SQL Executed duration=1.1ms caller=gin@v1.10.0/context.go:185 rows=0 trace=fd326e161b307aa14ec8d1133951a3c7 span=3cd72ba9c08d25bc sql=SELECT * FROM `servers` ORDER BY sort ASC LIMIT 10
282851-12-12 00:00:00.887  info  HTTP Request duration=7.006667ms caller=middleware/loggerMiddleware.go:92 status=200 ip=127.0.0.1 trace=fd326e161b307aa14ec8d1133951a3c7 span=3cd72ba9c08d25bc request=GET 127.0.0.1:8080/v1/admin/server/list?page=1&size=10 query=page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282853-12-12 00:00:00.009  info  [GORM] SQL Executed duration=0.8ms caller=gin@v1.10.0/context.go:185 rows=1 trace=eceb4ab9fc91f859c41f3a6b5722a5e7 span=27b6db280a580f5e sql=SELECT count(*) FROM `nodes`
282853-12-12 00:00:00.010  info  [GORM] SQL Executed duration=1.3ms caller=gin@v1.10.0/context.go:185 rows=0 sql=SELECT * FROM `nodes` ORDER BY sort ASC LIMIT 10 trace=eceb4ab9fc91f859c41f3a6b5722a5e7 span=27b6db280a580f5e
282853-12-12 00:00:00.010  info  HTTP Request duration=3.5245ms caller=middleware/loggerMiddleware.go:92 trace=eceb4ab9fc91f859c41f3a6b5722a5e7 span=27b6db280a580f5e request=GET 127.0.0.1:8080/v1/admin/server/node/list?page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=200 query=page=1&size=10
282854-12-12 00:00:00.203  info  HTTP Request duration=4.75µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/application/subscribe_application_list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=8df106b6cd1f62319256b95ee90411a3 span=3366b5e388356d86
282854-12-12 00:00:00.208  info  [GORM] SQL Executed duration=2.5ms caller=gin@v1.10.0/context.go:185 trace=1e2d22f1760125b594f1b0d3612dd518 sql=SELECT * FROM `subscribe_application` rows=5 span=74dd8f776398bbdc
282854-12-12 00:00:00.208  info  HTTP Request duration=4.069459ms caller=middleware/loggerMiddleware.go:92 status=200 trace=1e2d22f1760125b594f1b0d3612dd518 span=74dd8f776398bbdc request=GET 127.0.0.1:8080/v1/admin/application/subscribe_application_list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282856-12-12 00:00:00.435  info  HTTP Request duration=3.167µs caller=middleware/loggerMiddleware.go:92 status=204 query=page=1&size=999999999 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=00ce163805d498c75cef9f7cefdcdf89 span=3aac1813189712b3 request=OPTIONS 127.0.0.1:8080/v1/admin/subscribe/list?page=1&size=999999999 ip=127.0.0.1
282856-12-12 00:00:00.435  info  HTTP Request duration=2.25µs caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=39aab662af41c01fe44694ed4747c960 span=661eac84082b3675 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/subscribe/list?page=1&size=10 query=page=1&size=10
282856-12-12 00:00:00.438  info  [GORM] SQL Executed duration=0.9ms caller=subscribe/model.go:128 rows=1 trace=d5295bb41c0488dcd74aa27e00039f0d span=d91a461408919c1e sql=SELECT count(*) FROM `subscribe`
282856-12-12 00:00:00.440  info  [GORM] SQL Executed duration=2.9ms caller=subscribe/model.go:128 span=b6c29b7d24d5326d sql=SELECT count(*) FROM `subscribe` rows=1 trace=29bd1ff809cbc268c3270bfa29a0800e
282856-12-12 00:00:00.440  info  [GORM] SQL Executed duration=2.7ms caller=subscribe/model.go:128 rows=4 trace=d5295bb41c0488dcd74aa27e00039f0d span=d91a461408919c1e sql=SELECT * FROM `subscribe` ORDER BY sort ASC LIMIT 10
282856-12-12 00:00:00.442  info  [GORM] SQL Executed duration=1.3ms caller=subscribe/model.go:128 trace=29bd1ff809cbc268c3270bfa29a0800e span=b6c29b7d24d5326d sql=SELECT * FROM `subscribe` ORDER BY sort ASC LIMIT 999999999 rows=4
282856-12-12 00:00:00.443  info  [GORM] SQL Executed duration=1.3ms caller=subscribe/getSubscribeListHandler.go:23 sql=SELECT subscribe_id, COUNT(id) as total FROM `user_subscribe` WHERE subscribe_id IN (3,2,1,4) AND `status` IN (1,0) GROUP BY `subscribe_id` trace=29bd1ff809cbc268c3270bfa29a0800e rows=3 span=b6c29b7d24d5326d
282856-12-12 00:00:00.443  info  HTTP Request duration=6.369792ms caller=middleware/loggerMiddleware.go:92 query=page=1&size=999999999 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=29bd1ff809cbc268c3270bfa29a0800e status=200 request=GET 127.0.0.1:8080/v1/admin/subscribe/list?page=1&size=999999999 span=b6c29b7d24d5326d
282856-12-12 00:00:00.444  info  [GORM] SQL Executed duration=3.3ms caller=subscribe/getSubscribeListHandler.go:23 span=d91a461408919c1e sql=SELECT subscribe_id, COUNT(id) as total FROM `user_subscribe` WHERE subscribe_id IN (3,2,1,4) AND `status` IN (1,0) GROUP BY `subscribe_id` rows=3 trace=d5295bb41c0488dcd74aa27e00039f0d
282856-12-12 00:00:00.444  info  HTTP Request duration=8.266375ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/subscribe/list?page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=d91a461408919c1e query=page=1&size=10 ip=127.0.0.1 trace=d5295bb41c0488dcd74aa27e00039f0d
28282-12-12 00:00:00.573  info  [GORM] SQL Executed duration=1.2ms caller=gin@v1.10.0/context.go:185 sql=SELECT count(*) FROM `nodes` trace=88fc85ad84cac49757604f43e33fc58a span=ba3640eaff57ace9 rows=1
28282-12-12 00:00:00.574  info  [GORM] SQL Executed duration=0.9ms caller=gin@v1.10.0/context.go:185 rows=0 span=ba3640eaff57ace9 sql=SELECT * FROM `nodes` ORDER BY sort ASC LIMIT 10 trace=88fc85ad84cac49757604f43e33fc58a
28282-12-12 00:00:00.574  info  HTTP Request duration=3.449ms caller=middleware/loggerMiddleware.go:92 span=ba3640eaff57ace9 status=200 query=page=1&size=10 trace=88fc85ad84cac49757604f43e33fc58a request=GET 127.0.0.1:8080/v1/admin/server/node/list?page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
28283-12-12 00:00:00.944  info  HTTP Request duration=3.708µs caller=middleware/loggerMiddleware.go:92 trace=d06182af0b6e33b54c7c076200a7595f span=0d4c4c456531dc99 request=OPTIONS 127.0.0.1:8080/v1/admin/coupon/list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1 status=204 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
28283-12-12 00:00:00.947  info  [GORM] SQL Executed duration=2.5ms caller=coupon/getCouponListLogic.go:32 rows=1 span=a38b1957c7700c8c trace=e8828a10bcbeaad1135050bb1299cfda sql=SELECT count(*) FROM `coupon`
28283-12-12 00:00:00.948  info  [GORM] SQL Executed duration=0.6ms caller=coupon/getCouponListLogic.go:32 sql=SELECT * FROM `coupon` LIMIT 10 rows=0 trace=e8828a10bcbeaad1135050bb1299cfda span=a38b1957c7700c8c
28283-12-12 00:00:00.948  info  HTTP Request duration=3.965709ms caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=a38b1957c7700c8c request=GET 127.0.0.1:8080/v1/admin/coupon/list?page=1&size=10 trace=e8828a10bcbeaad1135050bb1299cfda status=200 query=page=1&size=10
28284-12-12 00:00:00.813  info  HTTP Request duration=5.959µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/order/list?page=1&size=10 ip=127.0.0.1 trace=a58e26c5e209982e43ae3ed16b73859b query=page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=f8eb083d76efac46
28284-12-12 00:00:00.815  info  [GORM] SQL Executed duration=0.6ms caller=order/getOrderListLogic.go:30 sql=SELECT count(*) FROM `order` trace=21316b01098848985277dab8c6e9f63f rows=1 span=41b251babad7bd69
28284-12-12 00:00:00.817  info  [GORM] SQL Executed duration=1.1ms caller=gorm@v1.25.12/callbacks.go:130 rows=2 trace=21316b01098848985277dab8c6e9f63f sql=SELECT * FROM `payment` WHERE `payment`.`id` IN (1,-1) span=41b251babad7bd69
28284-12-12 00:00:00.818  info  [GORM] SQL Executed duration=0.8ms caller=gorm@v1.25.12/callbacks.go:130 span=41b251babad7bd69 sql=SELECT * FROM `subscribe` WHERE `subscribe`.`id` IN (3,2) rows=2 trace=21316b01098848985277dab8c6e9f63f
28284-12-12 00:00:00.818  info  [GORM] SQL Executed duration=3.4ms caller=order/getOrderListLogic.go:30 sql=SELECT `order`.`id`,`order`.`parent_id`,`order`.`user_id`,`order`.`order_no`,`order`.`type`,`order`.`quantity`,`order`.`price`,`order`.`amount`,`order`.`discount`,`order`.`coupon`,`order`.`coupon_discount`,`order`.`payment_id`,`order`.`method`,`order`.`fee_amount`,`order`.`trade_no`,`order`.`gift_amount`,`order`.`commission`,`order`.`status`,`order`.`subscribe_id`,`order`.`subscribe_token`,`order`.`is_new`,`order`.`created_at`,`order`.`updated_at` FROM `order` ORDER BY id desc LIMIT 10 rows=10 trace=21316b01098848985277dab8c6e9f63f span=41b251babad7bd69
28284-12-12 00:00:00.818  info  HTTP Request duration=5.225875ms caller=middleware/loggerMiddleware.go:92 status=200 query=page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=21316b01098848985277dab8c6e9f63f span=41b251babad7bd69 request=GET 127.0.0.1:8080/v1/admin/order/list?page=1&size=10
28284-12-12 00:00:00.826  info  HTTP Request duration=4.917µs caller=middleware/loggerMiddleware.go:92 status=204 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=3ada9804e5440971253a1bb7dabba703 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=470 query=id=470 span=be99a07d8c627dc3
28284-12-12 00:00:00.826  info  HTTP Request duration=2.875µs caller=middleware/loggerMiddleware.go:92 trace=71ee990122bff9bc3a475bace2ee1180 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=476 query=id=476 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=8bad149ce80fe273 status=204 ip=127.0.0.1
28284-12-12 00:00:00.826  info  HTTP Request duration=2.541µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=429 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=d619e3548ad7069bd888347fa08b968b span=07de7163018025b3 status=204 query=id=429 ip=127.0.0.1
28284-12-12 00:00:00.826  info  HTTP Request duration=2.042µs caller=middleware/loggerMiddleware.go:92 query=id=428 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=b387e1f7228fae29e3bc986af661d6b6 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=428 ip=127.0.0.1 span=3224bdc383452d2f
28284-12-12 00:00:00.826  info  HTTP Request duration=2.167µs caller=middleware/loggerMiddleware.go:92 query=id=475 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=8ffe1a006af0a28308d33bc43dc9afa7 span=e15ed54df990e961 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=475
28284-12-12 00:00:00.826  info  HTTP Request duration=2.75µs caller=middleware/loggerMiddleware.go:92 query=id=473 trace=723000a9c6732071521f42ea955a2794 span=145aa50fb7727aad status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=473 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
28284-12-12 00:00:00.826  info  HTTP Request duration=3.083µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=472 query=id=472 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=5058e357dac58347e83cbfbd602ed762 span=283ed3cc81eb9c23
28284-12-12 00:00:00.826  info  HTTP Request duration=2.375µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=280 query=id=280 trace=60620e5b68ce258d5c0663049065ac06 status=204 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=cc96a16cfbcd3215
28284-12-12 00:00:00.831  info  [GORM] SQL Executed duration=1.3ms caller=gorm@v1.25.12/callbacks.go:130 rows=1 span=4b0887ac6ec2b798 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 428 trace=4b19adad91a4d23de72bace85d415ca1
28284-12-12 00:00:00.831  info  [GORM] SQL Executed duration=1.6ms caller=gorm@v1.25.12/callbacks.go:130 rows=1 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 476 trace=f5a17ccd48960ac0c5ea505a3f9c8576 span=cfc2738919ba2c5b
28284-12-12 00:00:00.832  info  [GORM] SQL Executed duration=1.5ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 475 rows=1 trace=6a53bb2e4ba7c53c69106c1be91b487c span=83a63aa8735c8d3b
28284-12-12 00:00:00.832  info  [GORM] SQL Executed duration=2.4ms caller=gorm@v1.25.12/callbacks.go:130 span=40ca43bd8bb81719 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 429 rows=1 trace=dd743fdf367b601e8616a5c690830769
28284-12-12 00:00:00.832  info  [GORM] SQL Executed duration=1.4ms caller=gorm@v1.25.12/callbacks.go:130 trace=f5a17ccd48960ac0c5ea505a3f9c8576 span=cfc2738919ba2c5b sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 476 rows=0
28284-12-12 00:00:00.832  info  [GORM] SQL Executed duration=4.3ms caller=user/getUserDetailLogic.go:30 sql=SELECT * FROM `user` WHERE `id` = 476 ORDER BY `user`.`id` LIMIT 1 rows=1 trace=f5a17ccd48960ac0c5ea505a3f9c8576 span=cfc2738919ba2c5b
28284-12-12 00:00:00.833  info  HTTP Request duration=6.276666ms caller=middleware/loggerMiddleware.go:92 trace=f5a17ccd48960ac0c5ea505a3f9c8576 status=200 query=id=476 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=cfc2738919ba2c5b request=GET 127.0.0.1:8080/v1/admin/user/detail?id=476 ip=127.0.0.1
28284-12-12 00:00:00.833  info  [GORM] SQL Executed duration=1.4ms caller=gorm@v1.25.12/callbacks.go:130 rows=0 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 429 trace=dd743fdf367b601e8616a5c690830769 span=40ca43bd8bb81719
28284-12-12 00:00:00.833  info  [GORM] SQL Executed duration=1.5ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 475 rows=0 span=83a63aa8735c8d3b trace=6a53bb2e4ba7c53c69106c1be91b487c
28284-12-12 00:00:00.833  info  [GORM] SQL Executed duration=5.3ms caller=user/getUserDetailLogic.go:30 sql=SELECT * FROM `user` WHERE `id` = 429 ORDER BY `user`.`id` LIMIT 1 rows=1 trace=dd743fdf367b601e8616a5c690830769 span=40ca43bd8bb81719
28284-12-12 00:00:00.833  info  [GORM] SQL Executed duration=4.5ms caller=user/getUserDetailLogic.go:30 sql=SELECT * FROM `user` WHERE `id` = 475 ORDER BY `user`.`id` LIMIT 1 span=83a63aa8735c8d3b rows=1 trace=6a53bb2e4ba7c53c69106c1be91b487c
28284-12-12 00:00:00.833  info  [GORM] SQL Executed duration=2.3ms caller=gorm@v1.25.12/callbacks.go:130 rows=0 span=4b0887ac6ec2b798 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 428 trace=4b19adad91a4d23de72bace85d415ca1
28284-12-12 00:00:00.833  info  [GORM] SQL Executed duration=5.3ms caller=user/getUserDetailLogic.go:30 sql=SELECT * FROM `user` WHERE `id` = 428 ORDER BY `user`.`id` LIMIT 1 span=4b0887ac6ec2b798 rows=1 trace=4b19adad91a4d23de72bace85d415ca1
28284-12-12 00:00:00.834  info  HTTP Request duration=6.755375ms caller=middleware/loggerMiddleware.go:92 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=dd743fdf367b601e8616a5c690830769 span=40ca43bd8bb81719 status=200 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=429 query=id=429 ip=127.0.0.1
28284-12-12 00:00:00.834  info  HTTP Request duration=6.630666ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=475 query=id=475 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=6a53bb2e4ba7c53c69106c1be91b487c span=83a63aa8735c8d3b status=200
28284-12-12 00:00:00.834  info  HTTP Request duration=6.791166ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=428 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=4b19adad91a4d23de72bace85d415ca1 span=4b0887ac6ec2b798 query=id=428 ip=127.0.0.1
28284-12-12 00:00:00.835  info  [GORM] SQL Executed duration=1.0ms caller=gorm@v1.25.12/callbacks.go:130 span=0c8da2a989cdf87e trace=c250bbb1a9a31950b3c69112edb1af40 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 470 rows=1
28284-12-12 00:00:00.836  info  [GORM] SQL Executed duration=1.9ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 473 trace=3b4ac304b4bea1080350e1fa5772d084 rows=1 span=f4a5f9a50920b726
28284-12-12 00:00:00.837  info  [GORM] SQL Executed duration=1.3ms caller=gorm@v1.25.12/callbacks.go:130 rows=0 trace=c250bbb1a9a31950b3c69112edb1af40 span=0c8da2a989cdf87e sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 470
28284-12-12 00:00:00.837  info  [GORM] SQL Executed duration=8.0ms caller=user/getUserDetailLogic.go:30 rows=1 sql=SELECT * FROM `user` WHERE `id` = 470 ORDER BY `user`.`id` LIMIT 1 trace=c250bbb1a9a31950b3c69112edb1af40 span=0c8da2a989cdf87e
28284-12-12 00:00:00.837  info  [GORM] SQL Executed duration=1.2ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 280 rows=1 trace=50b90cfa393186174ab7d761bc4198fb span=5becb4c6353bbd9d
28284-12-12 00:00:00.837  info  HTTP Request duration=10.5385ms caller=middleware/loggerMiddleware.go:92 status=200 query=id=470 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=c250bbb1a9a31950b3c69112edb1af40 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=470 span=0c8da2a989cdf87e
28284-12-12 00:00:00.837  info  [GORM] SQL Executed duration=0.8ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 472 rows=1 trace=bc4e5f7a5538d5877bf13254d0b4f58a span=07db835493ce3149
28284-12-12 00:00:00.838  info  [GORM] SQL Executed duration=1.2ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 473 trace=3b4ac304b4bea1080350e1fa5772d084 span=f4a5f9a50920b726 rows=0
28284-12-12 00:00:00.838  info  [GORM] SQL Executed duration=6.5ms caller=user/getUserDetailLogic.go:30 sql=SELECT * FROM `user` WHERE `id` = 473 ORDER BY `user`.`id` LIMIT 1 span=f4a5f9a50920b726 rows=1 trace=3b4ac304b4bea1080350e1fa5772d084
28284-12-12 00:00:00.838  info  HTTP Request duration=10.66225ms caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=3b4ac304b4bea1080350e1fa5772d084 span=f4a5f9a50920b726 status=200 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=473 query=id=473
28284-12-12 00:00:00.838  info  [GORM] SQL Executed duration=1.0ms caller=gorm@v1.25.12/callbacks.go:130 trace=50b90cfa393186174ab7d761bc4198fb sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 280 rows=0 span=5becb4c6353bbd9d
28284-12-12 00:00:00.838  info  [GORM] SQL Executed duration=3.0ms caller=user/getUserDetailLogic.go:30 rows=1 trace=50b90cfa393186174ab7d761bc4198fb sql=SELECT * FROM `user` WHERE `id` = 280 ORDER BY `user`.`id` LIMIT 1 span=5becb4c6353bbd9d
28284-12-12 00:00:00.838  info  [GORM] SQL Executed duration=0.8ms caller=gorm@v1.25.12/callbacks.go:130 rows=0 span=07db835493ce3149 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 472 trace=bc4e5f7a5538d5877bf13254d0b4f58a
28284-12-12 00:00:00.838  info  [GORM] SQL Executed duration=3.5ms caller=user/getUserDetailLogic.go:30 trace=bc4e5f7a5538d5877bf13254d0b4f58a span=07db835493ce3149 sql=SELECT * FROM `user` WHERE `id` = 472 ORDER BY `user`.`id` LIMIT 1 rows=1
28284-12-12 00:00:00.838  info  HTTP Request duration=4.315ms caller=middleware/loggerMiddleware.go:92 trace=50b90cfa393186174ab7d761bc4198fb query=id=280 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=5becb4c6353bbd9d status=200 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=280 ip=127.0.0.1
28284-12-12 00:00:00.838  info  HTTP Request duration=4.70225ms caller=middleware/loggerMiddleware.go:92 status=200 query=id=472 ip=127.0.0.1 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=472 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=bc4e5f7a5538d5877bf13254d0b4f58a span=07db835493ce3149
28286-12-12 00:00:00.017  info  [GORM] SQL Executed duration=0.9ms caller=coupon/getCouponListLogic.go:32 sql=SELECT count(*) FROM `coupon` rows=1 span=1a7b39e7113816b8 trace=2024ec19e7bfcbed8d3042b0c5f22dc3
28286-12-12 00:00:00.019  info  [GORM] SQL Executed duration=1.7ms caller=coupon/getCouponListLogic.go:32 rows=0 sql=SELECT * FROM `coupon` LIMIT 10 trace=2024ec19e7bfcbed8d3042b0c5f22dc3 span=1a7b39e7113816b8
28286-12-12 00:00:00.019  info  HTTP Request duration=4.195166ms caller=middleware/loggerMiddleware.go:92 span=1a7b39e7113816b8 request=GET 127.0.0.1:8080/v1/admin/coupon/list?page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=200 query=page=1&size=10 trace=2024ec19e7bfcbed8d3042b0c5f22dc3
28288-12-12 00:00:00.116  info  HTTP Request duration=7.084µs caller=middleware/loggerMiddleware.go:92 span=437b40695006d75d status=204 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=32b70365a73e21a4645770cacd690464 request=OPTIONS 127.0.0.1:8080/v1/admin/announcement/list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1
28288-12-12 00:00:00.122  info  [GORM] SQL Executed duration=2.8ms caller=announcement/getAnnouncementListLogic.go:32 span=aad21208108fde86 sql=SELECT count(*) FROM `announcement` trace=2ca940db04cd682a888a4db80381f7c8 rows=1
28288-12-12 00:00:00.123  info  [GORM] SQL Executed duration=1.3ms caller=announcement/getAnnouncementListLogic.go:32 trace=2ca940db04cd682a888a4db80381f7c8 span=aad21208108fde86 sql=SELECT * FROM `announcement` LIMIT 10 rows=1
28288-12-12 00:00:00.123  info  HTTP Request duration=6.087042ms caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 trace=2ca940db04cd682a888a4db80381f7c8 status=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=aad21208108fde86 request=GET 127.0.0.1:8080/v1/admin/announcement/list?page=1&size=10 query=page=1&size=10
282810-12-12 00:00:00.442  info  HTTP Request duration=3.75µs caller=middleware/loggerMiddleware.go:92 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=204 trace=de19b2390142c974cfccbf0a570dd7c6 span=31844acb8dc4b5d0 request=OPTIONS 127.0.0.1:8080/v1/admin/user/list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1
282810-12-12 00:00:00.446  info  [GORM] SQL Executed duration=1.0ms caller=user/getUserListLogic.go:30 sql=SELECT count(*) FROM `user` GROUP BY `user`.`id` ORDER BY user.id DESC rows=461 span=25dba6e94675bfc7 trace=94b5fe4d7373b2c98a8db63ad70f6321
282810-12-12 00:00:00.447  info  [GORM] SQL Executed duration=0.5ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` IN (486,485,484,483,482,481,480,479,478,477) rows=10 span=25dba6e94675bfc7 trace=94b5fe4d7373b2c98a8db63ad70f6321
282810-12-12 00:00:00.448  info  [GORM] SQL Executed duration=0.8ms caller=gorm@v1.25.12/callbacks.go:130 span=25dba6e94675bfc7 rows=0 trace=94b5fe4d7373b2c98a8db63ad70f6321 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` IN (486,485,484,483,482,481,480,479,478,477)
282810-12-12 00:00:00.448  info  [GORM] SQL Executed duration=2.0ms caller=user/getUserListLogic.go:30 trace=94b5fe4d7373b2c98a8db63ad70f6321 span=25dba6e94675bfc7 sql=SELECT * FROM `user` GROUP BY `user`.`id` ORDER BY user.id DESC LIMIT 10 rows=10
282810-12-12 00:00:00.448  info  HTTP Request duration=4.251667ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/user/list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=94b5fe4d7373b2c98a8db63ad70f6321 span=25dba6e94675bfc7
282810-12-12 00:00:00.468  info  HTTP Request duration=2.958µs caller=middleware/loggerMiddleware.go:92 status=204 query=id=61 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=a56b6b00e656fe168081e81c262ac00a request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=61 span=93c2147b44babd86
282810-12-12 00:00:00.468  info  HTTP Request duration=2.625µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=160 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=7f0dd79e7459c5c70b0618eb3507de6e span=a47b56f3df57784b query=id=160
282810-12-12 00:00:00.472  info  [GORM] SQL Executed duration=0.8ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 61 rows=1 span=c2cab1c3defeade6 trace=a548caf14bb92f1507851aeb02e5bb05
282810-12-12 00:00:00.472  info  [GORM] SQL Executed duration=1.1ms caller=gorm@v1.25.12/callbacks.go:130 span=545fcb632e3eca7c rows=1 trace=4bf8a462aaf741f4c10e928a2d1dbcac sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 160
282810-12-12 00:00:00.473  info  [GORM] SQL Executed duration=0.7ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 61 rows=0 trace=a548caf14bb92f1507851aeb02e5bb05 span=c2cab1c3defeade6
282810-12-12 00:00:00.473  info  [GORM] SQL Executed duration=3.1ms caller=user/getUserDetailLogic.go:30 rows=1 trace=a548caf14bb92f1507851aeb02e5bb05 sql=SELECT * FROM `user` WHERE `id` = 61 ORDER BY `user`.`id` LIMIT 1 span=c2cab1c3defeade6
282810-12-12 00:00:00.473  info  [GORM] SQL Executed duration=0.7ms caller=gorm@v1.25.12/callbacks.go:130 span=545fcb632e3eca7c sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 160 rows=0 trace=4bf8a462aaf741f4c10e928a2d1dbcac
282810-12-12 00:00:00.473  info  [GORM] SQL Executed duration=3.3ms caller=user/getUserDetailLogic.go:30 span=545fcb632e3eca7c sql=SELECT * FROM `user` WHERE `id` = 160 ORDER BY `user`.`id` LIMIT 1 rows=1 trace=4bf8a462aaf741f4c10e928a2d1dbcac
282810-12-12 00:00:00.473  info  HTTP Request duration=5.177917ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=160 query=id=160 ip=127.0.0.1 span=545fcb632e3eca7c status=200 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=4bf8a462aaf741f4c10e928a2d1dbcac
282810-12-12 00:00:00.473  info  HTTP Request duration=5.219042ms caller=middleware/loggerMiddleware.go:92 trace=a548caf14bb92f1507851aeb02e5bb05 span=c2cab1c3defeade6 status=200 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=61 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 query=id=61 ip=127.0.0.1
282812-12-12 00:00:00.313  info  HTTP Request duration=10.125µs caller=middleware/loggerMiddleware.go:92 request=OPTIONS 127.0.0.1:8080/v1/admin/ticket/list?page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=abc9eef6fe99ccfda41c9b570c754780 span=3eb6884a1cb9bcea query=page=1&size=10 ip=127.0.0.1 status=204
282812-12-12 00:00:00.318  info  [GORM] SQL Executed duration=2.5ms caller=ticket/getTicketListLogic.go:30 span=8be284e07ccfa164 sql=SELECT count(*) FROM `ticket` rows=1 trace=bf1ee220045cfc3f03a9c0fb4a88d688
282812-12-12 00:00:00.324  info  [GORM] SQL Executed duration=5.9ms caller=ticket/getTicketListLogic.go:30 sql=SELECT * FROM `ticket` ORDER BY id desc LIMIT 10 rows=10 trace=bf1ee220045cfc3f03a9c0fb4a88d688 span=8be284e07ccfa164
282812-12-12 00:00:00.329  info  HTTP Request duration=15.699667ms caller=middleware/loggerMiddleware.go:92 span=8be284e07ccfa164 status=200 request=GET 127.0.0.1:8080/v1/admin/ticket/list?page=1&size=10 ip=127.0.0.1 trace=bf1ee220045cfc3f03a9c0fb4a88d688 query=page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282812-12-12 00:00:00.336  info  HTTP Request duration=3.417µs caller=middleware/loggerMiddleware.go:92 status=204 query=id=330 ip=127.0.0.1 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=330 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=6667e3196b807e6611d7c94c78990224 span=ae19b1038db6c7f2
282812-12-12 00:00:00.336  info  HTTP Request duration=2.959µs caller=middleware/loggerMiddleware.go:92 status=204 ip=127.0.0.1 span=ad58e7e05d09ce77 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=448 query=id=448 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=6340210ffea835a415e85156e69514c1
282812-12-12 00:00:00.336  info  HTTP Request duration=3.375µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=71 query=id=71 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=6e6786d84a03344b7a20dcc8e771f037 span=3c1cf6a1eff0118d
282812-12-12 00:00:00.336  info  HTTP Request duration=5.166µs caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 trace=2a6da8288f4e7f3aaf4fdb0decd4776d status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=183 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=c974a5cc72e5d0da query=id=183
282812-12-12 00:00:00.336  info  HTTP Request duration=2.625µs caller=middleware/loggerMiddleware.go:92 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=327 ip=127.0.0.1 trace=409b7ddb69551dbbd8269038f8191763 span=63b4a09c82a72e8f query=id=327 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282812-12-12 00:00:00.336  info  HTTP Request duration=5.166µs caller=middleware/loggerMiddleware.go:92 status=204 ip=127.0.0.1 trace=0041169e4e01752757435d7ab0107521 span=e0f2df3c78ea2291 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=314 query=id=314 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282812-12-12 00:00:00.336  info  HTTP Request duration=3.458µs caller=middleware/loggerMiddleware.go:92 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=a49625dae4d38b91785d7c07831c052d span=180684dd36ed67ab status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/user/detail?id=201 query=id=201 ip=127.0.0.1
282812-12-12 00:00:00.345  info  [GORM] SQL Executed duration=3.4ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 71 rows=1 trace=503a3ffe7241a2f70d5d0d503c243752 span=cb0913394737fc94
282812-12-12 00:00:00.345  info  [GORM] SQL Executed duration=3.9ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 448 rows=1 trace=050144d07072100a08c953009d41a360 span=b2c95ccec6aa39f0
282812-12-12 00:00:00.345  info  [GORM] SQL Executed duration=4.0ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 183 rows=1 trace=2cec85b684b3aeac23ad1b38c7ecf6ed span=470b64c5dd508271
282812-12-12 00:00:00.345  info  [GORM] SQL Executed duration=2.6ms caller=gorm@v1.25.12/callbacks.go:130 rows=1 trace=638d0ba2b938022c710d676eb03f6a5d sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 327 span=61298b7f35f61192
282812-12-12 00:00:00.345  info  [GORM] SQL Executed duration=3.9ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 330 rows=1 trace=69c5fd569c7b2a51cf376a252cc84227 span=9c6dda9018a80469
282812-12-12 00:00:00.345  info  [GORM] SQL Executed duration=4.2ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 314 rows=1 span=ebcf84e29c507b86 trace=159a0f5fc694999bd83957baf3e6807f
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=1.8ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 327 rows=0 trace=638d0ba2b938022c710d676eb03f6a5d span=61298b7f35f61192
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=1.9ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 71 rows=0 trace=503a3ffe7241a2f70d5d0d503c243752 span=cb0913394737fc94
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=1.7ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 330 rows=0 span=9c6dda9018a80469 trace=69c5fd569c7b2a51cf376a252cc84227
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=9.1ms caller=user/getUserDetailLogic.go:30 sql=SELECT * FROM `user` WHERE `id` = 330 ORDER BY `user`.`id` LIMIT 1 trace=69c5fd569c7b2a51cf376a252cc84227 span=9c6dda9018a80469 rows=1
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=8.1ms caller=user/getUserDetailLogic.go:30 trace=638d0ba2b938022c710d676eb03f6a5d span=61298b7f35f61192 sql=SELECT * FROM `user` WHERE `id` = 327 ORDER BY `user`.`id` LIMIT 1 rows=1
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=8.3ms caller=user/getUserDetailLogic.go:30 span=cb0913394737fc94 sql=SELECT * FROM `user` WHERE `id` = 71 ORDER BY `user`.`id` LIMIT 1 rows=1 trace=503a3ffe7241a2f70d5d0d503c243752
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=1.9ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 448 rows=0 span=b2c95ccec6aa39f0 trace=050144d07072100a08c953009d41a360
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=1.6ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 314 rows=0 trace=159a0f5fc694999bd83957baf3e6807f span=ebcf84e29c507b86
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=1.9ms caller=gorm@v1.25.12/callbacks.go:130 rows=0 trace=2cec85b684b3aeac23ad1b38c7ecf6ed span=470b64c5dd508271 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 183
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=8.4ms caller=user/getUserDetailLogic.go:30 rows=1 span=b2c95ccec6aa39f0 sql=SELECT * FROM `user` WHERE `id` = 448 ORDER BY `user`.`id` LIMIT 1 trace=050144d07072100a08c953009d41a360
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=8.4ms caller=user/getUserDetailLogic.go:30 span=470b64c5dd508271 sql=SELECT * FROM `user` WHERE `id` = 183 ORDER BY `user`.`id` LIMIT 1 rows=1 trace=2cec85b684b3aeac23ad1b38c7ecf6ed
282812-12-12 00:00:00.347  info  [GORM] SQL Executed duration=8.2ms caller=user/getUserDetailLogic.go:30 trace=159a0f5fc694999bd83957baf3e6807f sql=SELECT * FROM `user` WHERE `id` = 314 ORDER BY `user`.`id` LIMIT 1 rows=1 span=ebcf84e29c507b86
282812-12-12 00:00:00.351  info  HTTP Request duration=12.692167ms caller=middleware/loggerMiddleware.go:92 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=9c6dda9018a80469 status=200 trace=69c5fd569c7b2a51cf376a252cc84227 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=330 query=id=330
282812-12-12 00:00:00.351  info  HTTP Request duration=12.302875ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=448 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=050144d07072100a08c953009d41a360 span=b2c95ccec6aa39f0 status=200 query=id=448 ip=127.0.0.1
282812-12-12 00:00:00.351  info  HTTP Request duration=14.142958ms caller=middleware/loggerMiddleware.go:92 trace=503a3ffe7241a2f70d5d0d503c243752 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=71 query=id=71 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=cb0913394737fc94 status=200
282812-12-12 00:00:00.351  info  HTTP Request duration=12.142458ms caller=middleware/loggerMiddleware.go:92 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=314 ip=127.0.0.1 trace=159a0f5fc694999bd83957baf3e6807f span=ebcf84e29c507b86 status=200 query=id=314 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282812-12-12 00:00:00.351  info  HTTP Request duration=14.142833ms caller=middleware/loggerMiddleware.go:92 trace=2cec85b684b3aeac23ad1b38c7ecf6ed span=470b64c5dd508271 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=183 query=id=183 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=200
282812-12-12 00:00:00.351  info  HTTP Request duration=14.184917ms caller=middleware/loggerMiddleware.go:92 status=200 ip=127.0.0.1 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=327 query=id=327 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=638d0ba2b938022c710d676eb03f6a5d span=61298b7f35f61192
282812-12-12 00:00:00.355  info  [GORM] SQL Executed duration=0.7ms caller=gorm@v1.25.12/callbacks.go:130 sql=SELECT * FROM `user_auth_methods` WHERE `user_auth_methods`.`user_id` = 201 rows=1 span=ec50b23f9b637910 trace=bc2d35a3e47e946e9e3e55e5efaf209e
282812-12-12 00:00:00.355  info  [GORM] SQL Executed duration=0.5ms caller=gorm@v1.25.12/callbacks.go:130 trace=bc2d35a3e47e946e9e3e55e5efaf209e span=ec50b23f9b637910 sql=SELECT * FROM `user_device` WHERE `user_device`.`user_id` = 201 rows=0
282812-12-12 00:00:00.355  info  [GORM] SQL Executed duration=2.6ms caller=user/getUserDetailLogic.go:30 trace=bc2d35a3e47e946e9e3e55e5efaf209e span=ec50b23f9b637910 rows=1 sql=SELECT * FROM `user` WHERE `id` = 201 ORDER BY `user`.`id` LIMIT 1
282812-12-12 00:00:00.356  info  HTTP Request duration=4.227625ms caller=middleware/loggerMiddleware.go:92 trace=bc2d35a3e47e946e9e3e55e5efaf209e span=ec50b23f9b637910 request=GET 127.0.0.1:8080/v1/admin/user/detail?id=201 query=id=201 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 status=200
282815-12-12 00:00:00.006  info  HTTP Request duration=7.917µs caller=middleware/loggerMiddleware.go:92 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=800fef6650c58044087005fed64c1ac6 status=204 request=OPTIONS 127.0.0.1:8080/v1/admin/document/list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1 span=a06233326068ce9e
282815-12-12 00:00:00.010  info  [GORM] SQL Executed duration=2.4ms caller=document/getDocumentListLogic.go:30 sql=SELECT count(*) FROM `document` rows=1 trace=d5aa09d5d1c56104a59c1fe176841db0 span=f587d0e0fe905342
282815-12-12 00:00:00.011  info  [GORM] SQL Executed duration=0.8ms caller=document/getDocumentListLogic.go:30 sql=SELECT * FROM `document` LIMIT 10 rows=0 span=f587d0e0fe905342 trace=d5aa09d5d1c56104a59c1fe176841db0
282815-12-12 00:00:00.011  info  HTTP Request duration=4.71425ms caller=middleware/loggerMiddleware.go:92 status=200 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 trace=d5aa09d5d1c56104a59c1fe176841db0 span=f587d0e0fe905342 request=GET 127.0.0.1:8080/v1/admin/document/list?page=1&size=10 query=page=1&size=10
282817-12-12 00:00:00.843  info  [GORM] SQL Executed duration=0.6ms caller=gin@v1.10.0/context.go:185 trace=9c70a0ea290d0ce1d5a8a6d024761c85 span=0bc00593b4b4de54 rows=1 sql=SELECT count(*) FROM `nodes`
282817-12-12 00:00:00.844  info  [GORM] SQL Executed duration=0.7ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `nodes` ORDER BY sort ASC LIMIT 10 rows=0 span=0bc00593b4b4de54 trace=9c70a0ea290d0ce1d5a8a6d024761c85
282817-12-12 00:00:00.844  info  HTTP Request duration=2.257417ms caller=middleware/loggerMiddleware.go:92 status=200 request=GET 127.0.0.1:8080/v1/admin/server/node/list?page=1&size=10 query=page=1&size=10 ip=127.0.0.1 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 span=0bc00593b4b4de54 trace=9c70a0ea290d0ce1d5a8a6d024761c85
282818-12-12 00:00:00.607  info  [GORM] SQL Executed duration=0.8ms caller=gin@v1.10.0/context.go:185 trace=47a2afeeef14ac354434f346c67eeba7 span=bc0e7deb89a89b5d sql=SELECT count(*) FROM `servers` rows=1
282818-12-12 00:00:00.608  info  [GORM] SQL Executed duration=0.6ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` ORDER BY sort ASC LIMIT 10 rows=0 trace=47a2afeeef14ac354434f346c67eeba7 span=bc0e7deb89a89b5d
282818-12-12 00:00:00.608  info  HTTP Request duration=3.30825ms caller=middleware/loggerMiddleware.go:92 trace=47a2afeeef14ac354434f346c67eeba7 request=GET 127.0.0.1:8080/v1/admin/server/list?page=1&size=10 ip=127.0.0.1 span=bc0e7deb89a89b5d status=200 query=page=1&size=10 user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
282846-12-12 00:00:00.460  info  [CheckSubscription] Start check subscription: 2025-12-28 17:05:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.463  info  [GORM] SQL Executed duration=2.7ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.463  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.465  info  [GORM] SQL Executed duration=1.0ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 09:05:46.464' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL rows=0
282846-12-12 00:00:00.465  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
282846-12-12 00:00:00.585  info  [CheckSubscription] Start check subscription: 2025-12-28 17:06:46 caller=subscription/checkSubscriptionLogic.go:32
282846-12-12 00:00:00.589  info  [GORM] SQL Executed duration=2.8ms caller=user/default.go:156 sql=SELECT * FROM `user_subscribe` WHERE upload + download >= traffic AND status = 1 AND traffic > 0 rows=0
282846-12-12 00:00:00.589  info  [Check Subscription Traffic] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:70
282846-12-12 00:00:00.593  info  [GORM] SQL Executed duration=2.1ms caller=user/default.go:156 rows=0 sql=SELECT * FROM `user_subscribe` WHERE `status` = 1 AND `expire_time` < '2025-12-29 09:06:46.59' AND `expire_time` != '1970-01-01 08:00:00' and `finished_at` IS NULL
282846-12-12 00:00:00.593  info  [Check Subscription Expire] No subscribe need to update caller=subscription/checkSubscriptionLogic.go:112
28289-12-12 00:00:00.423  info  stop scheduler service caller=scheduler/scheduler.go:55
28289-12-12 00:00:00.423  info  stop consumer service caller=queue/queue.go:36
+310
View File
@@ -0,0 +1,310 @@
282844-12-12 00:00:00.565  error  [GORM] Error: failed to initialize database, got error %v%!(EXTRA []interface {}=[Error 1044 (42000): Access denied for user 'ppanel'@'%' to database 'dev_ppanel']) caller=cmd/run.go:45
282846-12-12 00:00:00.884  error  [Init Telegram Config] New Bot API Error: {error Not Found} caller=initialize/telegram.go:39
282853-12-12 00:00:00.082  error  [Init Telegram Config] New Bot API Error: {error Not Found} caller=initialize/telegram.go:39
282838-12-12 00:00:00.834  error  [Init Telegram Config] New Bot API Error: {error Not Found} caller=initialize/telegram.go:39
282823-12-12 00:00:00.159  error  [Init Telegram Config] New Bot API Error: {error Not Found} caller=initialize/telegram.go:39
282846-12-12 00:00:00.833  error  [Init Telegram Config] New Bot API Error: {error Not Found} caller=initialize/telegram.go:39
282846-12-12 00:00:00.607  error  [GORM] duration=0.6ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 40 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=a9cb25de71e65b28 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.741  error  [GORM] duration=1.2ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 3 ORDER BY `servers`.`id` LIMIT 1 error=record not found span=a9cb25de71e65b28 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.741  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=3 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.741  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `servers` WHERE id = 33 ORDER BY `servers`.`id` LIMIT 1 error=record not found span=a9cb25de71e65b28 rows=0
282846-12-12 00:00:00.741  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=33 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.742  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 17 ORDER BY `servers`.`id` LIMIT 1 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc error=record not found span=a9cb25de71e65b28
282846-12-12 00:00:00.742  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=17 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.743  error  [GORM] duration=0.5ms caller=gin@v1.10.0/context.go:185 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 sql=SELECT * FROM `servers` WHERE id = 14 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found
282846-12-12 00:00:00.743  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 error=record not found server_id=14
282846-12-12 00:00:00.743  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 2 ORDER BY `servers`.`id` LIMIT 1 rows=0 span=a9cb25de71e65b28 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.743  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=2 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.743  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 34 ORDER BY `servers`.`id` LIMIT 1 span=a9cb25de71e65b28 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.743  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 error=record not found server_id=34
282846-12-12 00:00:00.744  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 32 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found span=a9cb25de71e65b28 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.744  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=32 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.744  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 23 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.744  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=23 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.744  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 error=record not found span=a9cb25de71e65b28 sql=SELECT * FROM `servers` WHERE id = 28 ORDER BY `servers`.`id` LIMIT 1 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.744  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=28 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.745  error  [GORM] duration=0.7ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 30 ORDER BY `servers`.`id` LIMIT 1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc rows=0 error=record not found span=a9cb25de71e65b28
282846-12-12 00:00:00.745  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=30 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.746  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 41 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 error=record not found
282846-12-12 00:00:00.852  error  [GORM] duration=0.5ms caller=middleware/authMiddleware.go:83 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=a9cb25de71e65b28
282846-12-12 00:00:00.852  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-26' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=a9cb25de71e65b28 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.853  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-25' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=a9cb25de71e65b28
282846-12-12 00:00:00.853  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-24' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.853  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-23' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
282846-12-12 00:00:00.854  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 span=a9cb25de71e65b28 rows=0 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-22' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.854  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-21' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.854  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-20' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.855  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-19' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
282846-12-12 00:00:00.855  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-18' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=a9cb25de71e65b28
282846-12-12 00:00:00.855  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-17' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=a9cb25de71e65b28
282846-12-12 00:00:00.855  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 error=record not found span=a9cb25de71e65b28 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-16' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc rows=0
282846-12-12 00:00:00.856  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-15' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=a9cb25de71e65b28
282846-12-12 00:00:00.856  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-14' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=a9cb25de71e65b28
282846-12-12 00:00:00.856  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-13' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 rows=0
282846-12-12 00:00:00.856  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 rows=0 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-12' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282846-12-12 00:00:00.857  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-11' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282846-12-12 00:00:00.857  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 error=record not found span=a9cb25de71e65b28 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-10' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.857  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-09' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=a9cb25de71e65b28 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.858  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 rows=0 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-08' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282846-12-12 00:00:00.858  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-07' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282846-12-12 00:00:00.858  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-06' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc rows=0 error=record not found span=a9cb25de71e65b28
282846-12-12 00:00:00.859  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-05' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=a9cb25de71e65b28
282846-12-12 00:00:00.859  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-04' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=a9cb25de71e65b28 rows=0 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc
282846-12-12 00:00:00.859  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=a9cb25de71e65b28 trace=f0b57ce4a5f49a0909eb9884b8f9a8bc sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-03' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0
282846-12-12 00:00:00.859  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-02' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28 rows=0
282846-12-12 00:00:00.860  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-01' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=f0b57ce4a5f49a0909eb9884b8f9a8bc span=a9cb25de71e65b28
282857-12-12 00:00:00.430  error  [GORM] duration=0.7ms caller=middleware/authMiddleware.go:83 error=record not found span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 40 ORDER BY `system_logs`.`id` LIMIT 1 trace=7020c167bf1a087382d7f1d7c57a3e60 rows=0
282857-12-12 00:00:00.563  error  [GORM] duration=2.0ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 3 ORDER BY `servers`.`id` LIMIT 1 error=record not found span=4aa98859fe771447 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.563  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 server_id=3 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 error=record not found
282857-12-12 00:00:00.563  error  [GORM] duration=0.6ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 33 ORDER BY `servers`.`id` LIMIT 1 error=record not found rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.563  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=33 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.564  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 error=record not found sql=SELECT * FROM `servers` WHERE id = 17 ORDER BY `servers`.`id` LIMIT 1
282857-12-12 00:00:00.564  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 error=record not found server_id=17
282857-12-12 00:00:00.564  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 rows=0 span=4aa98859fe771447 sql=SELECT * FROM `servers` WHERE id = 14 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.564  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=14 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.564  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 span=4aa98859fe771447 sql=SELECT * FROM `servers` WHERE id = 2 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.564  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=2 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.565  error  [GORM] duration=0.2ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 34 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.565  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 server_id=34 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 error=record not found
282857-12-12 00:00:00.565  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 32 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.565  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=32 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.565  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 rows=0 span=4aa98859fe771447 sql=SELECT * FROM `servers` WHERE id = 23 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.565  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 span=4aa98859fe771447 error=record not found server_id=23 trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.566  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 span=4aa98859fe771447 sql=SELECT * FROM `servers` WHERE id = 28 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.566  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 server_id=28 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 error=record not found
282857-12-12 00:00:00.566  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 sql=SELECT * FROM `servers` WHERE id = 30 ORDER BY `servers`.`id` LIMIT 1
282857-12-12 00:00:00.566  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 error=record not found server_id=30
282857-12-12 00:00:00.566  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 41 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 rows=0 span=4aa98859fe771447
282857-12-12 00:00:00.668  error  [GORM] duration=0.5ms caller=middleware/authMiddleware.go:83 span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.669  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-26' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=4aa98859fe771447 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.669  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-25' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60 error=record not found span=4aa98859fe771447
282857-12-12 00:00:00.670  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-24' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.670  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-23' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.670  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=7020c167bf1a087382d7f1d7c57a3e60 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-22' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=4aa98859fe771447 error=record not found
282857-12-12 00:00:00.670  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=7020c167bf1a087382d7f1d7c57a3e60 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-21' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=4aa98859fe771447
282857-12-12 00:00:00.671  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=7020c167bf1a087382d7f1d7c57a3e60 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-20' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=4aa98859fe771447 error=record not found
282857-12-12 00:00:00.671  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-19' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=4aa98859fe771447
282857-12-12 00:00:00.671  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=7020c167bf1a087382d7f1d7c57a3e60 rows=0 span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-18' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found
282857-12-12 00:00:00.672  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-17' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0
282857-12-12 00:00:00.672  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-16' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.672  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-15' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.673  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-14' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=4aa98859fe771447 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.673  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-13' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.673  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-12' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.674  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-11' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282857-12-12 00:00:00.674  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-10' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=4aa98859fe771447
282857-12-12 00:00:00.674  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-09' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.675  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-08' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=4aa98859fe771447 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60
282857-12-12 00:00:00.675  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 trace=7020c167bf1a087382d7f1d7c57a3e60 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-07' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=4aa98859fe771447
282857-12-12 00:00:00.675  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-06' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 rows=0
282857-12-12 00:00:00.676  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-05' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
282857-12-12 00:00:00.676  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-04' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447 rows=0 error=record not found
282857-12-12 00:00:00.676  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-03' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 rows=0 span=4aa98859fe771447
282857-12-12 00:00:00.676  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-02' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=7020c167bf1a087382d7f1d7c57a3e60 span=4aa98859fe771447
282857-12-12 00:00:00.677  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=7020c167bf1a087382d7f1d7c57a3e60 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-01' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=4aa98859fe771447 rows=0
28282-12-12 00:00:00.009  error  [GORM] duration=1.4ms caller=auth/userLoginLogic.go:68 sql=SELECT * FROM `user_auth_methods` WHERE `auth_type` = 'email' AND `auth_identifier` = 'admin@ppanel.dev' ORDER BY `user_auth_methods`.`id` LIMIT 1 rows=0 error=record not found trace=172c0620b3c03f0d71c12f88084612b5 span=10bedc5c56545d24
28289-12-12 00:00:00.004  error  [GORM] duration=0.5ms caller=middleware/authMiddleware.go:83 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 40 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 error=record not found
28289-12-12 00:00:00.138  error  [GORM] duration=0.7ms caller=gin@v1.10.0/context.go:185 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT * FROM `servers` WHERE id = 3 ORDER BY `servers`.`id` LIMIT 1 error=record not found
28289-12-12 00:00:00.138  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 error=record not found server_id=3
28289-12-12 00:00:00.138  error  [GORM] duration=0.5ms caller=gin@v1.10.0/context.go:185 rows=0 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT * FROM `servers` WHERE id = 33 ORDER BY `servers`.`id` LIMIT 1
28289-12-12 00:00:00.138  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=33 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.139  error  [GORM] duration=0.5ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 17 ORDER BY `servers`.`id` LIMIT 1 error=record not found span=707b3c756227e7d7 rows=0 trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.139  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 span=707b3c756227e7d7 error=record not found server_id=17 trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.139  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 span=707b3c756227e7d7 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 sql=SELECT * FROM `servers` WHERE id = 14 ORDER BY `servers`.`id` LIMIT 1 rows=0
28289-12-12 00:00:00.139  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=14 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.140  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 2 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found span=707b3c756227e7d7 trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.140  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 error=record not found server_id=2
28289-12-12 00:00:00.140  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 span=707b3c756227e7d7 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 sql=SELECT * FROM `servers` WHERE id = 34 ORDER BY `servers`.`id` LIMIT 1 error=record not found
28289-12-12 00:00:00.140  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 error=record not found server_id=34
28289-12-12 00:00:00.140  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 32 ORDER BY `servers`.`id` LIMIT 1 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 rows=0 error=record not found
28289-12-12 00:00:00.140  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=32 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.141  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 23 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 rows=0
28289-12-12 00:00:00.141  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 error=record not found server_id=23
28289-12-12 00:00:00.141  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 28 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 rows=0
28289-12-12 00:00:00.141  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=28 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.141  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 30 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.141  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=30 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.142  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 rows=0 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 41 ORDER BY `system_logs`.`id` LIMIT 1
28289-12-12 00:00:00.243  error  [GORM] duration=0.5ms caller=middleware/authMiddleware.go:83 rows=0 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.244  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-26' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=707b3c756227e7d7
28289-12-12 00:00:00.244  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-25' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.245  error  [GORM] duration=0.7ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-24' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.245  error  [GORM] duration=0.6ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-23' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 rows=0
28289-12-12 00:00:00.246  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-22' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.246  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=01f9372b374e7fffb135a755f5b3d310 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-21' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=707b3c756227e7d7
28289-12-12 00:00:00.247  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-20' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found
28289-12-12 00:00:00.247  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-19' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.247  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-18' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.247  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-17' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
28289-12-12 00:00:00.248  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-16' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=707b3c756227e7d7
28289-12-12 00:00:00.248  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-15' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0
28289-12-12 00:00:00.248  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-14' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.249  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-13' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=707b3c756227e7d7 rows=0 trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.249  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-12' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=707b3c756227e7d7
28289-12-12 00:00:00.249  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-11' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.250  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-10' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.250  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 error=record not found span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-09' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
28289-12-12 00:00:00.250  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-08' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.251  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-07' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
28289-12-12 00:00:00.251  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-06' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=01f9372b374e7fffb135a755f5b3d310
28289-12-12 00:00:00.251  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-05' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 error=record not found span=707b3c756227e7d7
28289-12-12 00:00:00.251  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-04' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=01f9372b374e7fffb135a755f5b3d310 rows=0 error=record not found span=707b3c756227e7d7
28289-12-12 00:00:00.252  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-03' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
28289-12-12 00:00:00.252  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-02' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=01f9372b374e7fffb135a755f5b3d310 span=707b3c756227e7d7
28289-12-12 00:00:00.252  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=707b3c756227e7d7 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-01' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=01f9372b374e7fffb135a755f5b3d310
282819-12-12 00:00:00.980  error  invalid character 'S' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'S' looking for beginning of value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.980  error  invalid character 'F' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'D' looking for beginning of value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.980  error  invalid character 'C' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'I' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'I' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'F' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'D' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'S' looking for beginning of value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.980  error  invalid character 'S' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character 'S' looking for beginning of value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.980  error  invalid character 'F' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.980  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'C' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'C' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'F' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'D' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'C' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'I' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'I' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character 'F' looking for beginning of value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 span=a87aa250a22a5bf7 trace=d79265d8b6fcae31637d961a08fd298c
282819-12-12 00:00:00.981  error  invalid character '-' after top-level value caller=tool/getSystemLogLogic.go:40 trace=d79265d8b6fcae31637d961a08fd298c span=a87aa250a22a5bf7
282845-12-12 00:00:00.147  error  [GORM] duration=3.7ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `subscribe_group` rows=0 error=Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist
282845-12-12 00:00:00.147  error  [GetSubscribeGroupListLogic] get subscribe group list failed: {error Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist} caller=subscribe/getSubscribeGroupListLogic.go:35 trace=f7cb04e2815dd33540404ed4531bb745 span=6c9398b325f5fa85
282845-12-12 00:00:00.148  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `subscribe_group` rows=0 error=Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist
282845-12-12 00:00:00.148  error  [GetSubscribeGroupListLogic] get subscribe group list failed: {error Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist} caller=subscribe/getSubscribeGroupListLogic.go:35 trace=0e0c1b04e9c81ea02d61ae0933355b0a span=74d81019c9be7b48
282845-12-12 00:00:00.168  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `subscribe_group` rows=0 error=Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist
282845-12-12 00:00:00.168  error  [GetSubscribeGroupListLogic] get subscribe group list failed: {error Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist} caller=subscribe/getSubscribeGroupListLogic.go:35 trace=2b0b2644c8c538a646cefc9abf374846 span=1ad06eb3d5c545a1
282845-12-12 00:00:00.188  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT count(*) FROM `subscribe_group` rows=0 error=Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist
282845-12-12 00:00:00.188  error  [GetSubscribeGroupListLogic] get subscribe group list failed: {error Error 1146 (42S02): Table 'dev_ppanel.subscribe_group' doesn't exist} caller=subscribe/getSubscribeGroupListLogic.go:35 trace=fe6f8db1b3fd564f9ad041a5bd5c6951 span=ac65d163cdb07153
282837-12-12 00:00:00.667  error  [GORM] duration=0.7ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 40 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=db2d2f7fd3888c84 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.802  error  [GORM] duration=0.6ms caller=gin@v1.10.0/context.go:185 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT * FROM `servers` WHERE id = 3 ORDER BY `servers`.`id` LIMIT 1
282837-12-12 00:00:00.802  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 server_id=3 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 error=record not found
282837-12-12 00:00:00.803  error  [GORM] duration=0.5ms caller=gin@v1.10.0/context.go:185 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT * FROM `servers` WHERE id = 33 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found
282837-12-12 00:00:00.803  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 error=record not found server_id=33
282837-12-12 00:00:00.803  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 span=db2d2f7fd3888c84 error=record not found sql=SELECT * FROM `servers` WHERE id = 17 ORDER BY `servers`.`id` LIMIT 1 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.803  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=17 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.803  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 error=record not found sql=SELECT * FROM `servers` WHERE id = 14 ORDER BY `servers`.`id` LIMIT 1 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.803  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=14 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.804  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `servers` WHERE id = 2 ORDER BY `servers`.`id` LIMIT 1 error=record not found span=db2d2f7fd3888c84 rows=0
282837-12-12 00:00:00.804  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=2 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.804  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `servers` WHERE id = 34 ORDER BY `servers`.`id` LIMIT 1 span=db2d2f7fd3888c84
282837-12-12 00:00:00.804  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 error=record not found server_id=34
282837-12-12 00:00:00.804  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 rows=0 error=record not found span=db2d2f7fd3888c84 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `servers` WHERE id = 32 ORDER BY `servers`.`id` LIMIT 1
282837-12-12 00:00:00.805  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 error=record not found server_id=32
282837-12-12 00:00:00.805  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 span=db2d2f7fd3888c84 rows=0 sql=SELECT * FROM `servers` WHERE id = 23 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.805  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=23 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.805  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT * FROM `servers` WHERE id = 28 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found
282837-12-12 00:00:00.805  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=28 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.805  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 error=record not found span=db2d2f7fd3888c84 sql=SELECT * FROM `servers` WHERE id = 30 ORDER BY `servers`.`id` LIMIT 1 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.805  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=30 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.806  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 rows=0 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 41 ORDER BY `system_logs`.`id` LIMIT 1
282837-12-12 00:00:00.909  error  [GORM] duration=0.7ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=32ea5e0fbf79c7c0b33856d3357d363a rows=0 error=record not found span=db2d2f7fd3888c84
282837-12-12 00:00:00.910  error  [GORM] duration=0.6ms caller=middleware/authMiddleware.go:83 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-26' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0
282837-12-12 00:00:00.912  error  [GORM] duration=1.5ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-25' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=db2d2f7fd3888c84 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.912  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-24' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 rows=0
282837-12-12 00:00:00.912  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found span=db2d2f7fd3888c84 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-23' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.913  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-22' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=db2d2f7fd3888c84 error=record not found
282837-12-12 00:00:00.914  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-21' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.914  error  [GORM] duration=0.6ms caller=middleware/authMiddleware.go:83 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-20' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=db2d2f7fd3888c84
282837-12-12 00:00:00.914  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=db2d2f7fd3888c84 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-19' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282837-12-12 00:00:00.915  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-18' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.915  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-17' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.915  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-16' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
282837-12-12 00:00:00.916  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-15' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.916  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=db2d2f7fd3888c84 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-14' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.916  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found span=db2d2f7fd3888c84 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-13' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.917  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-12' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=db2d2f7fd3888c84
282837-12-12 00:00:00.917  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-11' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=db2d2f7fd3888c84 trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.917  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=db2d2f7fd3888c84 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-10' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282837-12-12 00:00:00.917  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-09' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 error=record not found
282837-12-12 00:00:00.918  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-08' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.918  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 span=db2d2f7fd3888c84 trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-07' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
282837-12-12 00:00:00.918  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-06' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84
282837-12-12 00:00:00.919  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 span=db2d2f7fd3888c84 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-05' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282837-12-12 00:00:00.919  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-04' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=db2d2f7fd3888c84
282837-12-12 00:00:00.919  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a span=db2d2f7fd3888c84 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-03' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282837-12-12 00:00:00.920  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 span=db2d2f7fd3888c84 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-02' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a
282837-12-12 00:00:00.920  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-01' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 span=db2d2f7fd3888c84 error=record not found trace=32ea5e0fbf79c7c0b33856d3357d363a
282844-12-12 00:00:00.082  error  [GORM] duration=0.6ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 40 ORDER BY `system_logs`.`id` LIMIT 1 trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.219  error  [GORM] duration=0.6ms caller=gin@v1.10.0/context.go:185 rows=0 span=75f86b505c590213 sql=SELECT * FROM `servers` WHERE id = 3 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.219  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=3 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.220  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 rows=0 span=75f86b505c590213 sql=SELECT * FROM `servers` WHERE id = 33 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.220  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=33 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.220  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 trace=ee530e7347d62a1a4a85223982d992ec sql=SELECT * FROM `servers` WHERE id = 17 ORDER BY `servers`.`id` LIMIT 1 span=75f86b505c590213 rows=0 error=record not found
282844-12-12 00:00:00.220  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 server_id=17 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 error=record not found
282844-12-12 00:00:00.221  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 14 ORDER BY `servers`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 rows=0
282844-12-12 00:00:00.221  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=14 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.221  error  [GORM] duration=0.5ms caller=gin@v1.10.0/context.go:185 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 sql=SELECT * FROM `servers` WHERE id = 2 ORDER BY `servers`.`id` LIMIT 1 rows=0 error=record not found
282844-12-12 00:00:00.221  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 error=record not found server_id=2
282844-12-12 00:00:00.222  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 rows=0 error=record not found sql=SELECT * FROM `servers` WHERE id = 34 ORDER BY `servers`.`id` LIMIT 1 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.222  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=34 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.222  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 rows=0 error=record not found sql=SELECT * FROM `servers` WHERE id = 32 ORDER BY `servers`.`id` LIMIT 1 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.222  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 error=record not found server_id=32
282844-12-12 00:00:00.222  error  [GORM] duration=0.4ms caller=gin@v1.10.0/context.go:185 sql=SELECT * FROM `servers` WHERE id = 23 ORDER BY `servers`.`id` LIMIT 1 rows=0 span=75f86b505c590213 error=record not found trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.222  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=23 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.223  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 rows=0 trace=ee530e7347d62a1a4a85223982d992ec sql=SELECT * FROM `servers` WHERE id = 28 ORDER BY `servers`.`id` LIMIT 1 error=record not found span=75f86b505c590213
282844-12-12 00:00:00.223  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=28 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.223  error  [GORM] duration=0.3ms caller=gin@v1.10.0/context.go:185 error=record not found trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 sql=SELECT * FROM `servers` WHERE id = 30 ORDER BY `servers`.`id` LIMIT 1 rows=0
282844-12-12 00:00:00.223  error  [QueryServerTotalDataLogic] FindOneServer error caller=console/queryServerTotalDataLogic.go:111 error=record not found server_id=30 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.223  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 41 ORDER BY `system_logs`.`id` LIMIT 1 trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.329  error  [GORM] duration=0.6ms caller=middleware/authMiddleware.go:83 span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-27' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=ee530e7347d62a1a4a85223982d992ec error=record not found
282844-12-12 00:00:00.330  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-26' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.330  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-25' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found rows=0 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.331  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-24' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.331  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-23' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.331  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-22' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.332  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 trace=ee530e7347d62a1a4a85223982d992ec sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-21' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found span=75f86b505c590213
282844-12-12 00:00:00.332  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-20' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.332  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 trace=ee530e7347d62a1a4a85223982d992ec sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-19' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=75f86b505c590213
282844-12-12 00:00:00.333  error  [GORM] duration=0.4ms caller=middleware/authMiddleware.go:83 rows=0 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-18' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.333  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 rows=0 error=record not found sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-17' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1
282844-12-12 00:00:00.333  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-16' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.334  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-15' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found
282844-12-12 00:00:00.334  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-14' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 error=record not found
282844-12-12 00:00:00.334  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-13' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec rows=0 span=75f86b505c590213
282844-12-12 00:00:00.335  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-12' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=ee530e7347d62a1a4a85223982d992ec rows=0 error=record not found span=75f86b505c590213
282844-12-12 00:00:00.335  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 error=record not found span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-11' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.335  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-10' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=75f86b505c590213 rows=0 trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.336  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-09' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
282844-12-12 00:00:00.336  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 span=75f86b505c590213 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-08' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 error=record not found trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.336  error  [GORM] duration=0.2ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-07' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 trace=ee530e7347d62a1a4a85223982d992ec rows=0 error=record not found span=75f86b505c590213
282844-12-12 00:00:00.336  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 rows=0 error=record not found trace=ee530e7347d62a1a4a85223982d992ec sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-06' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 span=75f86b505c590213
282844-12-12 00:00:00.337  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-05' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found span=75f86b505c590213 rows=0 trace=ee530e7347d62a1a4a85223982d992ec
282844-12-12 00:00:00.337  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-04' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 rows=0 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 error=record not found
282844-12-12 00:00:00.337  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-03' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 rows=0
282844-12-12 00:00:00.338  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-02' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213 rows=0
282844-12-12 00:00:00.338  error  [GORM] duration=0.3ms caller=middleware/authMiddleware.go:83 sql=SELECT * FROM `system_logs` WHERE `date` = '2025-12-01' AND `type` = 42 ORDER BY `system_logs`.`id` LIMIT 1 error=record not found rows=0 trace=ee530e7347d62a1a4a85223982d992ec span=75f86b505c590213
View File
View File
View File
+31
View File
@@ -0,0 +1,31 @@
#!/bin/bash
# 简洁的代码对比脚本
echo "🔍 代码对比报告"
echo "==========================================="
echo ""
# 检查old远程仓库是否存在
if ! git remote | grep -q "old"; then
echo "❌ 请先添加old远程仓库: git remote add old https://github.com/perfect-panel/server.git && git fetch old"
exit 1
fi
echo "📋 文件变更对比:"
echo "-------------------------------------------"
echo "我们修改的文件:"
git diff --name-status old/master main | grep -E '^[AM]' | sed 's/^A/🆕 新增: /' | sed 's/^M/✏️ 修改: /'
echo ""
echo "他们修改的文件:"
git diff --name-status main old/master | grep -E '^[AM]' | sed 's/^A/🆕 新增: /' | sed 's/^M/✏️ 修改: /'
echo ""
echo "📊 变更统计:"
echo "-------------------------------------------"
echo "我们的变更:"
git diff --stat --color=always old/master main | tail -1
echo "他们的变更:"
git diff --stat --color=always main old/master | tail -1
echo ""
echo "✅ 对比完成!"