Newer
Older
KaiFengPC / src / api / system / caseManagement.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
import request from '@/utils/request';

// 搜索经典案例列表
export function listCase(query) {
  return request({
    url: '/system/platformJump/list',
    method: 'get',
    params: query,
  });
}

// 搜索经典案例分页
export function pageCase(query) {
  return request({
    url: '/system/platformJump/page',
    method: 'get',
    params: query,
  });
}

// 搜索经典案例详细
export function getCase(CaseId) {
  return request({
    url: '/system/platformJump/' + CaseId,
    method: 'get',
  });
}

// 新增经典案例
export function addCase(data) {
  return request({
    url: '/system/platformJump/add',
    method: 'post',
    data: data,
  });
}

// 修改经典案例
export function updateCase(data) {
  return request({
    url: '/system/platformJump/edit',
    method: 'put',
    data: data,
  });
}

// 删除经典案例
export function delCase(CaseId) {
  return request({
    url: '/system/platformJump/' + CaseId,
    method: 'delete',
  });
}

// 登录项目跳转增加redis缓存记录
export function loginPlatformJumpAddRedis() {
  return request({
    url: '/system/platformJump/loginPlatformJumpAddRedis',
    method: 'post',
  });
}