아이템 조회 아이템ID 조건 추가
This commit is contained in:
@@ -111,7 +111,6 @@ export const getCurrencyDetailList = async (token, searchType, searchData, tranI
|
|||||||
|
|
||||||
export const GameCurrencyDetailLogExport = async (token, params, fileName) => {
|
export const GameCurrencyDetailLogExport = async (token, params, fileName) => {
|
||||||
try {
|
try {
|
||||||
console.log(params);
|
|
||||||
await Axios.post(`/api/v1/log/currency/detail/excel-export`, params, {
|
await Axios.post(`/api/v1/log/currency/detail/excel-export`, params, {
|
||||||
headers: { Authorization: `Bearer ${token}` },
|
headers: { Authorization: `Bearer ${token}` },
|
||||||
responseType: 'blob',
|
responseType: 'blob',
|
||||||
@@ -129,9 +128,9 @@ export const GameCurrencyDetailLogExport = async (token, params, fileName) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getItemDetailList = async (token, searchType, searchData, tranId, logAction, itemLargeType, itemSmallType, countDeltaType, startDate, endDate, order, size, currentPage) => {
|
export const getItemDetailList = async (token, searchType, searchData, itemId, tranId, logAction, itemLargeType, itemSmallType, countDeltaType, startDate, endDate, order, size, currentPage) => {
|
||||||
try {
|
try {
|
||||||
const response = await Axios.get(`/api/v1/log/item/detail/list?search_type=${searchType}&search_data=${searchData}&tran_id=${tranId}
|
const response = await Axios.get(`/api/v1/log/item/detail/list?search_type=${searchType}&search_data=${searchData}&tran_id=${tranId}&item_id=${itemId}
|
||||||
&log_action=${logAction}&item_large_type=${itemLargeType}&item_small_type=${itemSmallType}&count_delta_type=${countDeltaType}&start_dt=${startDate}&end_dt=${endDate}
|
&log_action=${logAction}&item_large_type=${itemLargeType}&item_small_type=${itemSmallType}&count_delta_type=${countDeltaType}&start_dt=${startDate}&end_dt=${endDate}
|
||||||
&orderby=${order}&page_no=${currentPage}&page_size=${size}`, {
|
&orderby=${order}&page_no=${currentPage}&page_size=${size}`, {
|
||||||
headers: {
|
headers: {
|
||||||
@@ -149,7 +148,6 @@ export const getItemDetailList = async (token, searchType, searchData, tranId, l
|
|||||||
|
|
||||||
export const GameItemDetailLogExport = async (token, params, fileName) => {
|
export const GameItemDetailLogExport = async (token, params, fileName) => {
|
||||||
try {
|
try {
|
||||||
console.log(params);
|
|
||||||
await Axios.post(`/api/v1/log/item/detail/excel-export`, params, {
|
await Axios.post(`/api/v1/log/item/detail/excel-export`, params, {
|
||||||
headers: { Authorization: `Bearer ${token}` },
|
headers: { Authorization: `Bearer ${token}` },
|
||||||
responseType: 'blob',
|
responseType: 'blob',
|
||||||
@@ -187,7 +185,7 @@ export const getCurrencyItemList = async (token, searchType, searchData, tranId,
|
|||||||
|
|
||||||
export const GameCurrencyItemLogExport = async (token, params, fileName) => {
|
export const GameCurrencyItemLogExport = async (token, params, fileName) => {
|
||||||
try {
|
try {
|
||||||
console.log(params);
|
|
||||||
await Axios.post(`/api/v1/log/currency-item/excel-export`, params, {
|
await Axios.post(`/api/v1/log/currency-item/excel-export`, params, {
|
||||||
headers: { Authorization: `Bearer ${token}` },
|
headers: { Authorization: `Bearer ${token}` },
|
||||||
responseType: 'blob',
|
responseType: 'blob',
|
||||||
|
|||||||
Reference in New Issue
Block a user