reghao hace 1 año
padre
commit
eca4f64e5a
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      src/api/file.js

+ 9 - 0
src/api/file.js

@@ -0,0 +1,9 @@
+import { post } from '@/utils/request'
+
+const diskApi = {
+  ossServerApi: '/api/disk/oss/serverinfo'
+}
+
+export function getServerInfo(channelId) {
+  return post(diskApi.ossServerApi + '?channelId=' + channelId)
+}