|
@@ -1,15 +1,15 @@
|
|
import api from '@/utils/request';
|
|
import api from '@/utils/request';
|
|
|
|
|
|
export const getPage = params =>
|
|
export const getPage = params =>
|
|
- api.post(`/yxl-back-end/service/help/content/page`, params);
|
|
|
|
|
|
+ api.post(`/yxl-back-end/framework/help/content/page`, params);
|
|
export const getItem = ({ id, ...params }) =>
|
|
export const getItem = ({ id, ...params }) =>
|
|
- api.get(`/yxl-back-end/service/help/content/${id}`, params);
|
|
|
|
|
|
+ api.get(`/yxl-back-end/framework/help/content/${id}`, params);
|
|
export const saveItem = ({ id, ...params }) => {
|
|
export const saveItem = ({ id, ...params }) => {
|
|
if (id) {
|
|
if (id) {
|
|
- return api.put(`/yxl-back-end/service/help/content/${id}`, params);
|
|
|
|
|
|
+ return api.put(`/yxl-back-end/framework/help/content/${id}`, params);
|
|
} else {
|
|
} else {
|
|
- return api.post(`/yxl-back-end/service/help/content`, params);
|
|
|
|
|
|
+ return api.post(`/yxl-back-end/framework/help/content`, params);
|
|
}
|
|
}
|
|
};
|
|
};
|
|
export const delItem = ({ id, ...params }) =>
|
|
export const delItem = ({ id, ...params }) =>
|
|
- api.del(`/yxl-back-end/service/help/content/${id}`, params);
|
|
|
|
|
|
+ api.del(`/yxl-back-end/framework/help/content/${id}`, params);
|