perf: auth token

This commit is contained in:
archer
2023-04-29 15:59:53 +08:00
parent 78762498eb
commit ea100d84bf
35 changed files with 38 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
import type { NextApiRequest, NextApiResponse } from 'next';
import { jsonRes } from '@/service/response';
import { authToken } from '@/service/utils/tools';
import { authToken } from '@/service/utils/auth';
import { ModelDataStatusEnum } from '@/constants/model';
import { generateVector } from '@/service/events/generateVector';
import { PgClient } from '@/service/pg';