| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- import { http } from '@/utils/http/axios';
- /**
- * @description: 岗位列表
- */
- export function postList(params) {
- return http.request({
- url: '/post/list',
- method: 'get',
- params,
- });
- }
- /**
- * @description: 添加岗位
- */
- export function addPost(params) {
- return http.request({
- url: '/post/add',
- method: 'post',
- params,
- });
- }
- /**
- * @description: 编辑岗位
- */
- export function editPost(params) {
- return http.request({
- url: '/post/update',
- method: 'post',
- params,
- });
- }
- /**
- * @description: 岗位详情
- */
- export function postInfo(params) {
- return http.request({
- url: '/post/view',
- method: 'get',
- params,
- });
- }
- /**
- * @description: 删除岗位
- */
- export function deletePost(params) {
- return http.request({
- url: '/post/delete',
- method: 'post',
- params,
- });
- }
|