diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..b6877b7 --- /dev/null +++ b/.env.development @@ -0,0 +1,23 @@ +# port 端口号 +VITE_PORT = 8888 + +#浏览器自动打开 +VITE_OPEN = true + +# 本地环境 +ENV = 'development' + +# ADMIN 服务地址 +# VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ # 线上 +# VITE_ADMIN_PROXY_PATH = http://pjcloud.center.takin.cc/ +# VITE_ADMIN_PROXY_PATH = http://localhost:9999 +VITE_ADMIN_PROXY_PATH = http://192.168.101.29:9999/ # 邓-本地 + +# 图片访问基础地址 +# VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api # 线上 +# VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc +# VITE_IMAGE_BASE_PATH = http://localhost:9999 +VITE_IMAGE_BASE_PATH = http://192.168.101.29:9999 # 邓-本地 + +# 代码生成服务地址 +VITE_GEN_PROXY_PATH = http://192.168.110.156:5003 diff --git a/src/api/hard/hard-group.ts b/src/api/hard/hard-group.ts new file mode 100644 index 0000000..98afdb9 --- /dev/null +++ b/src/api/hard/hard-group.ts @@ -0,0 +1,48 @@ +import request from "/@/utils/request" + +export function pageJoin(query?: Object) { + return request({ + url: "/hard/hard-group/page-join", + method: "get", + params: query, + }) +} + +export function fetchList(query?: Object) { + return request({ + url: "/hard/hard-group/page", + method: "get", + params: query, + }) +} + +export function addObj(obj?: Object) { + return request({ + url: "/hard/hard-group", + method: "post", + data: obj, + }) +} + +export function getObj(id?: string) { + return request({ + url: "/hard/hard-group/" + id, + method: "get", + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: "/hard/hard-group", + method: "delete", + data: ids, + }) +} + +export function putObj(obj?: Object) { + return request({ + url: "/hard/hard-group", + method: "put", + data: obj, + }) +} diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index 808658a..f992e6a 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -22,14 +22,14 @@ - - - + + +