feat: 修改sse调用

This commit is contained in:
rd
2025-08-25 11:49:58 +08:00
parent db9b53821b
commit 13670acc9a
6 changed files with 189 additions and 117 deletions

View File

@ -28,9 +28,9 @@ export const baseUrl = 'http://192.168.40.41:8001';
export const getHeaders = () => {
const store = useEnterpriseStore();
return {
Authorization: glsWithCatch('accessToken'),
'Authorization': glsWithCatch('accessToken'),
'enterprise-id': store.enterpriseInfo?.id,
Accept: 'application/json',
'Accept': 'application/json',
'Content-Type': 'application/json',
};
};