mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-09 08:09:28 +00:00
22 lines
511 B
JavaScript
22 lines
511 B
JavaScript
export default {
|
|
getNews: function (page = 1, page_size = 10) {
|
|
const url =
|
|
FHC_JS_DATA_STORAGE_OBJECT.app_root +
|
|
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
|
|
"/CisHtml/Cms/getNews";
|
|
return axios.get(url, {
|
|
params: {
|
|
page,
|
|
page_size,
|
|
},
|
|
});
|
|
},
|
|
getNewsRowCount: function () {
|
|
const url =
|
|
FHC_JS_DATA_STORAGE_OBJECT.app_root +
|
|
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
|
|
"/CisHtml/Cms/getNewsRowCount";
|
|
return axios.get(url);
|
|
},
|
|
};
|