| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import axios from 'axios';
- export interface DeeplinkDailyReportRecord {
- row_key: string;
- row_type: 'daily' | 'channel';
- report_date: string;
- channel_name?: string;
- display_name?: string;
- total_count: number;
- success_count: number;
- fail_count: number;
- children?: DeeplinkDailyReportRecord[];
- }
- export interface DeeplinkDailyReportSummary {
- total_count: number;
- success_count: number;
- fail_count: number;
- }
- export interface DeeplinkDailyReportChannel {
- channel_name: string;
- display_name: string;
- total_count: number;
- success_count: number;
- fail_count: number;
- }
- export interface DeeplinkDailyReportParams {
- query_date: string[];
- channel_name?: string;
- }
- export interface DeeplinkDailyReportRes {
- list: DeeplinkDailyReportRecord[];
- count: number;
- summary: DeeplinkDailyReportSummary;
- channels: DeeplinkDailyReportChannel[];
- maxRangeDays: number;
- }
- export function queryDeeplinkDailyReport(data: DeeplinkDailyReportParams) {
- return axios.post<DeeplinkDailyReportRes>(
- '/api/DeeplinkReport/daily',
- data
- );
- }
|