diff --git a/src/request/api.js b/src/request/api.js index 0434b80..ebf0e20 100644 --- a/src/request/api.js +++ b/src/request/api.js @@ -28,3 +28,5 @@ export const setVideo = (params) => post("/app/audioOrVideo/createUploadVideo", params); // 阿里云上传视频 export const setVideoRefresh = (params) => post("/app/audioOrVideo/refreshUploadVideo", params); // 阿里云上传视频刷新凭证 +export const getAppVersion = (params) => + post("/app/versionmanager/getVersion", params); // 获取动态路由 diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 13520ea..4f62e6f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -62,7 +62,7 @@ >
{ + const resData = await getAppVersion(); + data.qyAppSrc = VITE_FILE_URL + resData.pd.FILEURL; +}; +await fnAppVersion(); const fnLogin = debounce( 1000, () => {