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/sdcampaigns/report/campaign_info'

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