diff --git a/src/api/modules/http.js b/src/api/modules/http.js index b457a65..89c4a7a 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -824,6 +824,24 @@ export function keyWordsMatching(obj) { }) } +// 修改销讲业务 +export function updateMarketingBusiness(obj) { + return request({ + url: 'autoSR/customer/updateMarketingBusiness', + method: 'post', + data: obj + }) +} + +// 获取销讲业务模板 +export function marketingBusinessNoApi(params) { + return request({ + url: 'autoSR/customer/marketingBusiness', + method: 'get', + params: params + }) +} + //小程序权限 export function geTmenu(query) { diff --git a/src/router/axios.js b/src/router/axios.js index 08df179..47ff382 100644 --- a/src/router/axios.js +++ b/src/router/axios.js @@ -63,7 +63,6 @@ axios.interceptors.response.use(res => { NProgress.done() const status = Number(res.status) || 200 const message = res.data.msg || errorCode[status] || errorCode['default'] - // if (status === 401) { if (status === 401 || status === 500) { idx++ if(idx==1){ diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index db1732f..10194f2 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -27,6 +27,12 @@ align-items: center; " > +