feat: 1. 完善起草合同页面的逻辑交互,对接minio的接口操作
This commit is contained in:
@@ -244,7 +244,7 @@ export async function getEntryModules(userRole: string | null | undefined, userA
|
||||
filter: {}
|
||||
};
|
||||
|
||||
const modulesResponse = await postgrestGet('entry_modules', { ...params, token });
|
||||
const modulesResponse = await postgrestGet('/api/postgrest/proxy/entry_modules', { ...params, token });
|
||||
|
||||
if (modulesResponse.error) {
|
||||
console.error('❌ [getEntryModules] 查询入口模块失败:', modulesResponse.error);
|
||||
@@ -295,7 +295,7 @@ export async function getEntryModules(userRole: string | null | undefined, userA
|
||||
}
|
||||
};
|
||||
|
||||
const typesResponse = await postgrestGet('document_types', { ...typesParams, token });
|
||||
const typesResponse = await postgrestGet('/api/postgrest/proxy/document_types', { ...typesParams, token });
|
||||
|
||||
if (typesResponse.error) {
|
||||
console.error(`❌ [getEntryModules] 查询模块 ${module.id} 的文档类型失败:`, typesResponse.error);
|
||||
|
||||
Reference in New Issue
Block a user