|
@@ -1,7 +1,7 @@
|
|
|
import { createRoute, OpenAPIHono } from '@hono/zod-openapi';
|
|
import { createRoute, OpenAPIHono } from '@hono/zod-openapi';
|
|
|
import { z } from '@hono/zod-openapi';
|
|
import { z } from '@hono/zod-openapi';
|
|
|
import { AppDataSource, ErrorSchema, parseWithAwait } from '@d8d/shared-utils';
|
|
import { AppDataSource, ErrorSchema, parseWithAwait } from '@d8d/shared-utils';
|
|
|
-import { authMiddleware, enterpriseAuthMiddleware } from '@d8d/auth-module';
|
|
|
|
|
|
|
+import { authMiddleware, enterpriseAuthMiddleware } from '@d8d/core-module/auth-module';
|
|
|
import { AuthContext } from '@d8d/shared-types';
|
|
import { AuthContext } from '@d8d/shared-types';
|
|
|
import { OrderService } from '../services/order.service';
|
|
import { OrderService } from '../services/order.service';
|
|
|
import {
|
|
import {
|
|
@@ -22,8 +22,7 @@ import {
|
|
|
BatchDownloadRequestSchema,
|
|
BatchDownloadRequestSchema,
|
|
|
BatchDownloadResponseSchema,
|
|
BatchDownloadResponseSchema,
|
|
|
UpdateAssetStatusSchema,
|
|
UpdateAssetStatusSchema,
|
|
|
- AssetType,
|
|
|
|
|
- AssetStatus
|
|
|
|
|
|
|
+ AssetType
|
|
|
} from '../schemas/order.schema';
|
|
} from '../schemas/order.schema';
|
|
|
import { OrderStatus, WorkStatus } from '@d8d/allin-enums';
|
|
import { OrderStatus, WorkStatus } from '@d8d/allin-enums';
|
|
|
// FileSchema导入已不再需要,使用简化的SimpleFileSchema
|
|
// FileSchema导入已不再需要,使用简化的SimpleFileSchema
|