Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
quasar-web-base
Commits
184f9c53
Commit
184f9c53
authored
Jun 22, 2022
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ffba408c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
configurations.example.ts
src/assets/configurations.example.ts
+2
-2
index.vue
src/pages/bai-viet/index.vue
+2
-2
index.vue
src/pages/banner/index.vue
+2
-2
index.vue
src/pages/cau-hinh-doi-tac-truyen-thong/index.vue
+2
-2
index.vue
src/pages/cau-hinh-san-pham-noi-bat/index.vue
+2
-2
index.vue
src/pages/cau-hinh-tin-tuc/index.vue
+1
-1
index.vue
src/pages/thong-tin-chung/index.vue
+1
-1
No files found.
src/assets/configurations.example.ts
View file @
184f9c53
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
:
{
...
...
src/pages/bai-viet/index.vue
View file @
184f9c53
...
@@ -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
>>
;
...
...
src/pages/banner/index.vue
View file @
184f9c53
...
@@ -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
>>
;
...
...
src/pages/cau-hinh-doi-tac-truyen-thong/index.vue
View file @
184f9c53
...
@@ -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
>>
;
...
...
src/pages/cau-hinh-san-pham-noi-bat/index.vue
View file @
184f9c53
...
@@ -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
>>
;
...
...
src/pages/cau-hinh-tin-tuc/index.vue
View file @
184f9c53
...
@@ -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
,
...
...
src/pages/thong-tin-chung/index.vue
View file @
184f9c53
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment