|
|
|
@ -9,7 +9,8 @@ import {
|
|
|
|
|
GET_CMM_CODE_LIST,
|
|
|
|
|
SAVE_PUBLIC_BOARD,
|
|
|
|
|
DELETE_PUBLIC_BOARD,
|
|
|
|
|
GET_FILE_DOWNLOAD
|
|
|
|
|
GET_FILE_DOWNLOAD,
|
|
|
|
|
SAVE_PUBLIC_BOARD_HIT_CNT
|
|
|
|
|
} from 'commons/ApiUrl';
|
|
|
|
|
import axios from 'utils/axios';
|
|
|
|
|
import FileSaver from 'file-saver';
|
|
|
|
@ -60,6 +61,14 @@ class OpstBizService {
|
|
|
|
|
return res;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
modifyPublicBoardHitCount = async (inCode) => {
|
|
|
|
|
const res = await axios.put(SAVE_PUBLIC_BOARD_HIT_CNT + inCode);
|
|
|
|
|
if (res.success) {
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
return res;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// eslint-disable-next-line no-return-await
|
|
|
|
|
getBoardList = async (params) => {
|
|
|
|
|
const res = await axios.get(GET_BOARD_LIST, { params });
|
|
|
|
@ -70,13 +79,6 @@ class OpstBizService {
|
|
|
|
|
return res;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// const res = await axios.get(BOARD_LIST_URL, { params });
|
|
|
|
|
// return res;
|
|
|
|
|
// axios.get(BOARD_LIST_URL, { params }).then((r) => {
|
|
|
|
|
// console.log(r);
|
|
|
|
|
// return r;
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
// eslint-disable-next-line no-return-await
|
|
|
|
|
getSimsa680GroupList = async (params) => {
|
|
|
|
|
const res = await axios.get(GET_PARKING_SIMSA_LIST, { params });
|
|
|
|
|