organization.js 276 Bytes
Newer Older
陈浩玮's avatar
陈浩玮 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import { delReq, getReq, postReq, putReq } from '@/utils';

function addJobsApi(data) {
    return postReq('/api/v1/jobs', data);
}

function updateJobsApi(data) {
    return putReq('/api/v1/jobs', data);
}

export default {
    add: addJobsApi,
    update: updateJobsApi,
};