diff --git a/src/assets/api.js b/src/assets/api.js index 9317d1b9..27b8a2ea 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -102,7 +102,10 @@ export const getReSellerOption = (params) => { //新建营销计划 export const addPlanStep = (id, params) => { let str = id ? "/"+id :"" - + if(str) + { + return req('put', baseurl + "/plan/step" + str, params) + } return req('post', baseurl + "/plan/step" + str, params) } //获取营销计划草稿信息