import { request } from '/@/utils/service'
import { apiPrefix } from '/@/views/adManage/sp/api';

const urlPrefix = "/api/ad_manage/auto_plan_template/"

export function getCampaignRuleInfo (params: any) {
  return request({
    url: '/api/ad_manage/campaign_rule/get_info',
    method: 'get',
    params: params
  })
}

export function postCampaignStatus (body: any) {
  return request({
    url: '/api/ad_manage/campaign_rule/change_status',
    method: 'post',
    data: body,
  })
}