diff --git a/src/assets/api.js b/src/assets/api.js index e8d78b77..95fb3c66 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -80,7 +80,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) } //获取营销计划草稿信息