import { request } from '@umijs/max';

export async function deviceAmountPage(body) {
    return request('/api/device/amount/page', {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json;charset=UTF-8',
        },
        data: body || {},
    });
}