adminSpecialUseConsume.ts 578 B

12345678910111213141516171819202122
  1. import { request } from 'umi';
  2. import { api } from '../api';
  3. /**
  4. * 管理员拉消耗
  5. * @param data
  6. * @returns
  7. */
  8. export async function syncAccountDayApi(data: { accountIds: any[], beginDate: string, endDate: string }) {
  9. return request(api + `/tencentData/monitorAdData/syncAccountDay`, {
  10. method: 'POST',
  11. data
  12. });
  13. }
  14. export async function syncAccountDayV3Api(data: { accountIds: any[], beginDate: string, endDate: string }) {
  15. return request(api + `/tencentData/monitorAdData/syncAccountDayV3`, {
  16. method: 'POST',
  17. data
  18. });
  19. }