import { request } from 'umi';
import { getDataBaseUrl,getStoremanagement } from '@/global_data';

export function page(data) {
    return request(getStoremanagement()+`/api/appid/getappidpage`, {
        method: 'post',
        data: data,
    });
}

export function add(data) {
    return request(getStoremanagement()+`/api/appid/add`, {
        method: 'post',
        data: data,
    });
}

export function del(data) {
    return request(getStoremanagement()+`/api/appid/delete`, {
        method: 'post',
        data: data,
    });
}

export function update(data) {
    return request(getStoremanagement()+`/api/appid/update`, {
        method: 'post',
        data: data,
    });
}