import request from "@/utils/request";
const { api } = process.env.CONFIG;


export interface GetAllOfUserListProps {
    pageNum: number,
    pageSize: number,
    corpIdList?: string[],
    corpUserName?: string,
    stopUse?: boolean,
    online?: boolean,
    note?: string
}
/**
 * 设备 列表
 * @param data 
 * @returns 
 */
export async function getAllOfUserListApi(data: GetAllOfUserListProps) {
    return request({
        url: api + `/corp/corpUser/corpUserDevicePage`,
        method: 'POST',
        data
    });
}