update

parent ffba408c
export const config = { export const config = {
API_ENDPOINT: 'https://cms.vab.xteldev.com/api/', //test API_ENDPOINT: 'https://cms.vab.vn/api/',// pro
// API_ENDPOINT:'http://103.147.34.34:10700/api/' , // API_ENDPOINT:'http://103.147.34.34:10700/api/' ,
// API_IMAGE_ENDPOINT: 'http://103.147.34.34:10700/api/upload/' , // test // API_IMAGE_ENDPOINT: 'http://103.147.34.34:10700/api/upload/' , // test
API_IMAGE_ENDPOINT: 'https://cms.vab.xteldev.com/file/upload/', API_IMAGE_ENDPOINT: 'https://cms.vab.vn/file/upload/',
API_RES_CODE: { API_RES_CODE: {
OK: { OK: {
......
...@@ -461,8 +461,8 @@ export default defineComponent({ ...@@ -461,8 +461,8 @@ export default defineComponent({
bodyFormData.append('file', file); bodyFormData.append('file', file);
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
url: 'https://cms.vab.xteldev.com/file/upload/', // test url: 'https://cms.vab.vn/file/upload/',
// url:'http://103.147.34.34:10700/api/upload/', // pro
method: 'POST', method: 'POST',
data: bodyFormData, data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>; })) as AxiosResponse<BaseResponseBody<FileUploadType>>;
......
...@@ -400,8 +400,8 @@ export default defineComponent({ ...@@ -400,8 +400,8 @@ export default defineComponent({
bodyFormData.append('file', file); bodyFormData.append('file', file);
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
url: 'https://cms.vab.xteldev.com/file/upload/', //test url: 'https://cms.vab.vn/file/upload/',
// url:'http://103.147.34.34:10700/api/upload/', // pro
method: 'POST', method: 'POST',
data: bodyFormData, data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>; })) as AxiosResponse<BaseResponseBody<FileUploadType>>;
......
...@@ -408,8 +408,8 @@ export default defineComponent({ ...@@ -408,8 +408,8 @@ export default defineComponent({
bodyFormData.append('file', file); bodyFormData.append('file', file);
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
url: 'https://cms.vab.xteldev.com/file/upload/', // test url: 'https://cms.vab.vn/file/upload/', // test
// url:'http://103.147.34.34:10700/api/upload/', // pro
method: 'POST', method: 'POST',
data: bodyFormData, data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>; })) as AxiosResponse<BaseResponseBody<FileUploadType>>;
......
...@@ -468,8 +468,8 @@ export default defineComponent({ ...@@ -468,8 +468,8 @@ export default defineComponent({
bodyFormData.append('file', file); bodyFormData.append('file', file);
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
url: 'https://cms.vab.xteldev.com/file/upload/', // test url: 'https://cms.vab.vn/file/upload/',
// url:'http://103.147.34.34:10700/api/upload/', //pro
method: 'POST', method: 'POST',
data: bodyFormData, data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>; })) as AxiosResponse<BaseResponseBody<FileUploadType>>;
......
...@@ -413,7 +413,7 @@ export default defineComponent({ ...@@ -413,7 +413,7 @@ export default defineComponent({
bodyFormData.append('file', file); bodyFormData.append('file', file);
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
url: 'https://cms.vab.xteldev.com/file/upload/', // test url: 'https://cms.vab.vn/file/upload/', // test
// url:'http://103.147.34.34:10700/api/upload/', // pro // url:'http://103.147.34.34:10700/api/upload/', // pro
method: 'POST', method: 'POST',
data: bodyFormData, data: bodyFormData,
......
...@@ -284,7 +284,7 @@ export default defineComponent({ ...@@ -284,7 +284,7 @@ export default defineComponent({
bodyFormData.append('file', file); bodyFormData.append('file', file);
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
url: 'https://cms.vab.xteldev.com/file/upload/', // test url: 'https://cms.vab.vn/file/upload/', // test
// url:'http://103.147.34.34:10700/api/upload/', // pro // url:'http://103.147.34.34:10700/api/upload/', // pro
method: 'POST', method: 'POST',
data: bodyFormData, data: bodyFormData,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment