Update api.js

This commit is contained in:
姜棚 2021-11-24 14:35:22 +08:00
parent fc4da4d9e8
commit 47fa8d1012
1 changed files with 4 additions and 1 deletions

View File

@ -80,7 +80,10 @@ export const getReSellerOption = (params) => {
//新建营销计划 //新建营销计划
export const addPlanStep = (id, params) => { export const addPlanStep = (id, params) => {
let str = id ? "/"+id :"" let str = id ? "/"+id :""
if(str)
{
return req('put', baseurl + "/plan/step" + str, params)
}
return req('post', baseurl + "/plan/step" + str, params) return req('post', baseurl + "/plan/step" + str, params)
} }
//获取营销计划草稿信息 //获取营销计划草稿信息