Newer
Older
urbanLifeline_YanAn / src / api / system / caseManagement.js
@zhangqy zhangqy on 3 Oct 1 KB first commit
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",
  });
}