reghao пре 1 година
родитељ
комит
eca4f64e5a
1 измењених фајлова са 9 додато и 0 уклоњено
  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)
+}