fix api
This commit is contained in:
parent
54b8280e6c
commit
30458f4315
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import type { StorageFile } from '@/interface/response/storage'
|
|||
import config from "@/api";
|
||||
|
||||
export async function getDocumentList(volume: string, id: string) {
|
||||
const res = await fetch(`${config.API_URI}/document/${volume}/${id}`, {
|
||||
const res = await fetch(`${config.API_URI}/evaluation/document/${volume}/${id}`, {
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
},
|
||||
|
|
@ -19,7 +19,7 @@ export async function getDocumentInfo(
|
|||
id: string,
|
||||
file: string
|
||||
) {
|
||||
const res = await fetch(`${config.API_URI}/document/${volume}/${id}/${file}`, {
|
||||
const res = await fetch(`${config.API_URI}/evaluation/document/${volume}/${id}/${file}`, {
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue