import request from '@/utils/request'
const base = "/system/links/";

export const doAdd = (data)=>request.post(base,data);

export const doUpdate=(data)=>request.put(base,data);

export const doPage= (params)=>request.get(base+"page",{params});

export const doGet=(id)=>request.get(base+id);

export const doDelete=(id)=>request.delete(base+id);