From e3ef6c9d27838d41ccd5e74ef09ee00170c638f2 Mon Sep 17 00:00:00 2001
From: ryan
Date: Mon, 8 Jun 2026 17:14:48 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Agents.md | 2 +-
CLAUDE.md | 2 +-
README.md | 2 +-
README_zh.md | 2 +-
.../common/docs/legal-page-layout.tsx | 12 +++---
frontend/components/home/footer-section.tsx | 8 ++--
frontend/components/layout/search-dialog.tsx | 28 +++++++-------
go.mod | 2 +-
internal/apps/admin/auth_source/routers.go | 4 +-
.../apps/admin/auth_source/routers_test.go | 8 ++--
internal/apps/admin/logs/routers.go | 4 +-
internal/apps/admin/middlewares.go | 10 ++---
internal/apps/admin/status/routers.go | 2 +-
internal/apps/admin/system_config/routers.go | 8 ++--
.../apps/admin/system_config/routers_test.go | 10 ++---
internal/apps/admin/task/routers.go | 11 ++++--
internal/apps/admin/task/routers_test.go | 37 ++++++++++++------
internal/apps/admin/user/routers.go | 8 ++--
internal/apps/admin/user/routers_test.go | 8 ++--
internal/apps/cap/middleware.go | 4 +-
internal/apps/cap/routers.go | 2 +-
internal/apps/cap/routers_test.go | 10 ++---
internal/apps/config/routers.go | 4 +-
internal/apps/health/routers.go | 2 +-
internal/apps/oauth/audit.go | 4 +-
internal/apps/oauth/middlewares.go | 10 ++---
internal/apps/oauth/oauth_test.go | 8 ++--
internal/apps/oauth/routers.go | 4 +-
internal/apps/oauth/sources.go | 8 ++--
internal/apps/upload/file_server.go | 6 +--
internal/apps/upload/routers.go | 16 ++++----
internal/apps/upload/routers_test.go | 12 +++---
internal/apps/upload/tasks.go | 8 ++--
internal/apps/upload/tasks_test.go | 10 ++---
internal/apps/user/access_tokens.go | 8 ++--
internal/apps/user/controllers.go | 12 +++---
internal/apps/user/tasks.go | 6 +--
internal/cmd/api.go | 2 +-
internal/cmd/root.go | 2 +-
internal/cmd/scheduler.go | 2 +-
internal/cmd/worker.go | 2 +-
internal/db/clickhouse.go | 2 +-
internal/db/idgen/snowflake.go | 2 +-
internal/db/migrator/migrator.go | 8 ++--
internal/db/postgres.go | 2 +-
internal/db/postgres_logger.go | 2 +-
internal/db/redis.go | 2 +-
internal/logger/ringbuffer_test.go | 15 ++++----
internal/logger/utils.go | 2 +-
internal/model/auth_source.go | 2 +-
internal/model/system_configs.go | 2 +-
internal/model/task_execution.go | 4 +-
internal/model/task_execution_test.go | 38 ++++++++++++++-----
internal/model/users.go | 4 +-
internal/otel_trace/trace.go | 5 ++-
internal/otel_trace/trace_provider.go | 2 +-
internal/router/middlewares.go | 8 ++--
internal/router/router.go | 38 +++++++++----------
internal/storage/cache.go | 6 +--
internal/storage/s3.go | 6 +--
internal/task/executor.go | 8 ++--
internal/task/executor_test.go | 22 ++++++-----
internal/task/handlers/register.go | 29 ++++++++++++++
internal/task/scheduler/scheduler.go | 4 +-
internal/task/utils.go | 2 +-
internal/task/worker/worker.go | 10 ++---
internal/testhelper/test_helper.go | 12 +-----
internal/util/cap/manager.go | 6 +--
internal/util/session.go | 2 +-
internal/util/validate.go | 2 +-
main.go | 2 +-
71 files changed, 310 insertions(+), 249 deletions(-)
create mode 100644 internal/task/handlers/register.go
diff --git a/Agents.md b/Agents.md
index 7a281f6c..8cd1ae98 100644
--- a/Agents.md
+++ b/Agents.md
@@ -39,7 +39,7 @@
以下是项目的顶层目录结构及其职责, 如果有新增目录或文件,请务必在此处同步更新:
```
-wavelet/ # 项目根目录(模块名: github.com/linux-do/credit)
+wavelet/ # 项目根目录(模块名: github.com/Rain-kl/Wavelet)
├── main.go # 程序入口,调用 internal/cmd
├── go.mod / go.sum # Go 模块依赖
├── config.yaml # 运行时配置(不提交到 Git)
diff --git a/CLAUDE.md b/CLAUDE.md
index 7a281f6c..8cd1ae98 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -39,7 +39,7 @@
以下是项目的顶层目录结构及其职责, 如果有新增目录或文件,请务必在此处同步更新:
```
-wavelet/ # 项目根目录(模块名: github.com/linux-do/credit)
+wavelet/ # 项目根目录(模块名: github.com/Rain-kl/Wavelet)
├── main.go # 程序入口,调用 internal/cmd
├── go.mod / go.sum # Go 模块依赖
├── config.yaml # 运行时配置(不提交到 Git)
diff --git a/README.md b/README.md
index 2c97a647..b6199f23 100644
--- a/README.md
+++ b/README.md
@@ -88,7 +88,7 @@ The project was designed from the ground up to be **framework-first and business
### 1. Clone the Repository
```bash
-git clone https://github.com/linux-do/credit.git refreshing
+git clone https://github.com/Rain-kl/Wavelet.git refreshing
cd refreshing
```
diff --git a/README_zh.md b/README_zh.md
index 0aac398a..507a1201 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -88,7 +88,7 @@
### 1. 克隆仓库
```bash
-git clone https://github.com/linux-do/credit.git refreshing
+git clone https://github.com/Rain-kl/Wavelet.git refreshing
cd refreshing
```
diff --git a/frontend/components/common/docs/legal-page-layout.tsx b/frontend/components/common/docs/legal-page-layout.tsx
index a6df8876..14bd6e96 100644
--- a/frontend/components/common/docs/legal-page-layout.tsx
+++ b/frontend/components/common/docs/legal-page-layout.tsx
@@ -2,11 +2,11 @@
import * as React from "react"
import Link from "next/link"
-import { ArrowLeft, Calendar, Check, Copy, FileText } from "lucide-react"
-import { Button } from "@/components/ui/button"
-import { cn } from "@/lib/utils"
-import { motion, useScroll, useSpring } from "motion/react"
-import type { PolicySection } from "./types"
+import {ArrowLeft, Calendar, Check, Copy, FileText} from "lucide-react"
+import {Button} from "@/components/ui/button"
+import {cn} from "@/lib/utils"
+import {motion, useScroll, useSpring} from "motion/react"
+import type {PolicySection} from "./types"
interface LegalPageLayoutProps {
title: string
@@ -395,7 +395,7 @@ export function LegalPageLayout({
对这些内容有疑问?
-
+
diff --git a/frontend/components/home/footer-section.tsx b/frontend/components/home/footer-section.tsx
index 61767c0c..2423644e 100644
--- a/frontend/components/home/footer-section.tsx
+++ b/frontend/components/home/footer-section.tsx
@@ -28,7 +28,7 @@ export const FooterSection = React.memo(function FooterSection({ className }: Fo
通用的、现代化的后台管理系统脚手架。基于 Go + React 构建,开箱即用、完整基建、极易扩展。
-
+
@@ -45,15 +45,15 @@ export const FooterSection = React.memo(function FooterSection({ className }: Fo