diff --git a/src/apis/update.js b/src/apis/update.js index a48707a..2be5ded 100644 --- a/src/apis/update.js +++ b/src/apis/update.js @@ -68,6 +68,13 @@ export const get_update_alter = () => { }) } +export const write_git_version_to_db = () => { + return request({ + url: `/update/test/write_git_version_to_db/`, + method: 'get', + }) +} + export const handle_update = (params) => { return request({ url: '/update/update_cine/', diff --git a/src/request/config.js b/src/request/config.js index 0302e32..f40887d 100644 --- a/src/request/config.js +++ b/src/request/config.js @@ -1,8 +1,10 @@ export default { // method: 'get', - baseURL: 'http://172.16.1.63:8000', + baseURL: 'http://172.16.1.221:8000', + // baseURL: 'http://172.16.1.114:8000', // baseURL: 'http://127.0.0.1:8000', - baseWS: 'ws://172.16.1.63:8000', + baseWS: 'ws://172.16.1.221:8000', + // baseWS: 'ws://172.16.1.114:8000', // baseWS: 'ws://127.0.0.1:8000', headers: { 'Content-Type': 'application/json;charset=UTF-8', diff --git a/src/views/update/index.vue b/src/views/update/index.vue index 06b64d2..6f4d9b8 100644 --- a/src/views/update/index.vue +++ b/src/views/update/index.vue @@ -1,7 +1,7 @@