feat: 首页支持宣传语

This commit is contained in:
richarjiang
2026-03-16 08:44:11 +08:00
parent fa2eec5a69
commit 8e9af19c88
11 changed files with 181 additions and 52 deletions

View File

@@ -2,7 +2,8 @@ import { NextRequest, NextResponse } from "next/server";
import { eq, and, gte, sql } from "drizzle-orm";
import { db } from "@/lib/db";
import { tokenUsage } from "@/lib/db/schema";
import { authenticateRequest, getTodayDateString } from "@/lib/utils";
import { authenticateRequest } from "@/lib/auth/request";
import { getTodayDateString } from "@/lib/utils";
export async function GET(req: NextRequest) {
try {