api.js 570 Bytes

const baseUrl = '/api';

export const addSNsApi = {
    method: 'post',
    url: baseUrl + '/sn/add_sn'
}

export const getSNsApi = {
    method: 'get',
    url: baseUrl + '/sn/get_sn'
}

export const deleteSNsApi = {
    method: 'post',
    url: baseUrl + '/sn/delete_sn'
}

export const getSNsByConditionApi = {
    method: 'post',
    url: baseUrl + '/sn/get_by_condition_sn'
}

export const listProjectSelectApi = {
    method: 'post',
    url: baseUrl + '/sn/list_product_select'
}

export const loginApi = {
    method: 'post',
    url: baseUrl + '/auth/login'
}