|
@@ -5,7 +5,7 @@ export const getMarketingById = (id) => get(`/router/rest/marketing/detail/${id}
|
|
|
export const getSopList = (data = {}) => post('/router/rest/api/sop/list', data)
|
|
export const getSopList = (data = {}) => post('/router/rest/api/sop/list', data)
|
|
|
export const addSop = (data = {}) => post('/router/rest/api/sop/create', data)
|
|
export const addSop = (data = {}) => post('/router/rest/api/sop/create', data)
|
|
|
export const editSop = (id, data = {}) => put(`/router/rest/api/sop/${id}`, data)
|
|
export const editSop = (id, data = {}) => put(`/router/rest/api/sop/${id}`, data)
|
|
|
-export const getSopById = (id) => get(`/router/rest/api/sop/${id}`)
|
|
|
|
|
|
|
+export const getSopById = (id) => get(`/router/rest/marketing/campaign/sop-detail/campaign/${id}`)
|
|
|
export const addMarketing = (data = {}) => post('/router/rest/marketing/add', data)
|
|
export const addMarketing = (data = {}) => post('/router/rest/marketing/add', data)
|
|
|
export const editMarketing = (data = {}) => post('/router/rest/marketing/edit', data)
|
|
export const editMarketing = (data = {}) => post('/router/rest/marketing/edit', data)
|
|
|
export const marketingAnalysis = () => get('/router/rest/marketing/dashboard/stats')
|
|
export const marketingAnalysis = () => get('/router/rest/marketing/dashboard/stats')
|