비즈니스 로그조회 추가

This commit is contained in:
2025-03-19 10:56:57 +09:00
parent f2d7c87f38
commit a0087a1e29
15 changed files with 1464 additions and 54 deletions

18
src/apis/Log.js Normal file
View File

@@ -0,0 +1,18 @@
//운영 정보 관리 - 로그 api 연결
import { Axios } from '../utils';
// 비즈니스 로그 조회
export const BusinessLogList = async (token, params) => {
try {
const res = await Axios.post(`/api/v1/log/generic/list`, params, {
headers: { Authorization: `Bearer ${token}` },
});
return res.data;
} catch (e) {
if (e instanceof Error) {
throw new Error('BusinessLogList Error', e);
}
}
};