Browse Source

深度探索的api添加

milestone-20251117-DeepChart后台一期
liruiqiang 2 months ago
parent
commit
c675456c6e
  1. 2
      .env.development
  2. 2
      .env.test
  3. 27
      src/api/userPermissions.js

2
.env.development

@ -1,2 +1,2 @@
VITE_API_BASE_URL = "http://m6cbfb9d.natappfree.cc"
VITE_API_BASE_URL = "http://u92a9b3d.natappfree.cc"
VITE_API_BASE_URL_LINK = "http://121.89.234.155:8807"

2
.env.test

@ -1,2 +1,2 @@
VITE_API_BASE_URL = "http://m6cbfb9d.natappfree.cc"
VITE_API_BASE_URL = "http://u92a9b3d.natappfree.cc"
VITE_API_BASE_URL_LINK = "http://121.89.234.155:8807"

27
src/api/userPermissions.js

@ -90,4 +90,31 @@ export function exitDMApi(params) {
method: "post",
data: params,
});
}
// 深度探索--获取用户列表
export function userDEListApi(params) {
return request({
url: base_url + "/admin/deepExploration/list",
method: "post",
data: params,
});
}
// 深度探索--创建导出
export function exportDeepExploreApi(params) {
return request({
url: base_url + "/admin/deepExploration/export/create",
method: "post",
data: params,
});
}
// 深度探索-开通/编辑
export function exitDEApi(params) {
return request({
url: base_url + "/admin/deepExploration/permission/exit",
method: "post",
data: params,
});
}
Loading…
Cancel
Save