refactor: reorganize API imports and simplify parameter handling in various components

This commit is contained in:
Ardeman
2025-03-09 10:23:11 +08:00
parent 687e3c8d01
commit d38bf3a705
10 changed files with 26 additions and 16 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { z } from 'zod'
import { newsResponseSchema } from '~/apis/admin/get-news'
import { newsResponseSchema } from '~/apis/common/get-news'
import { HttpServer, type THttpServer } from '~/libs/http-server'
const dataResponseSchema = z.object({