import { request } from '/@/utils/service'
import { LocationQueryValue } from 'vue-router'
// import { UserPageQuery, AddReq, DelReq, EditReq, InfoReq } from '@fast-crud/fast-crud';
// import XEUtils from 'xe-utils';

export const apiPrefix = '/api/ad_manage/spcampaigndetail/'

export function GetObj(campaignId: LocationQueryValue | LocationQueryValue[]) {
	return request({
		url: apiPrefix + 'head/',
		method: 'get',
		params: { campaignId },
	})
}
