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
ac036a7c
Commit
ac036a7c
authored
Jun 30, 2022
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6a078ad2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
20 deletions
+20
-20
configurations.example.ts
src/assets/configurations.example.ts
+4
-4
index.vue
src/pages/bai-viet/index.vue
+3
-3
index.vue
src/pages/banner/index.vue
+3
-3
index.vue
src/pages/cau-hinh-doi-tac-truyen-thong/index.vue
+3
-3
index.vue
src/pages/cau-hinh-san-pham-noi-bat/index.vue
+3
-3
index.vue
src/pages/cau-hinh-tin-tuc/index.vue
+2
-2
index.vue
src/pages/thong-tin-chung/index.vue
+2
-2
No files found.
src/assets/configurations.example.ts
View file @
ac036a7c
export
const
config
=
{
// pro
//
API_ENDPOINT: 'https://cms.vab.vn/api/',
//
API_IMAGE_ENDPOINT: 'https://cms.vab.vn/file/upload/',
API_ENDPOINT
:
'https://cms.vab.vn/api/'
,
API_IMAGE_ENDPOINT
:
'https://cms.vab.vn/file/upload/'
,
// dev
API_ENDPOINT
:
'http://103.147.34.20:10700/api/'
,
API_IMAGE_ENDPOINT
:
'http://103.147.34.20:10705/file/upload/'
,
//
API_ENDPOINT: 'http://103.147.34.20:10700/api/',
//
API_IMAGE_ENDPOINT: 'http://103.147.34.20:10705/file/upload/',
API_RES_CODE
:
{
OK
:
{
...
...
src/pages/bai-viet/index.vue
View file @
ac036a7c
...
...
@@ -461,9 +461,9 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
// url: 'https://cms.vab.vn/file/upload/',
// pro
url
:
'http://103.147.34.20:10705/file/upload/'
,
// test
url
:
'https://cms.vab.vn/file/upload/'
,
// pro
//
url: 'http://103.147.34.20:10705/file/upload/', // test
method
:
'POST'
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/banner/index.vue
View file @
ac036a7c
...
...
@@ -400,9 +400,9 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
// url: 'https://cms.vab.vn/file/upload/',
// pro
url
:
'http://103.147.34.20:10705/file/upload/'
,
// test
url
:
'https://cms.vab.vn/file/upload/'
,
// pro
//
url: 'http://103.147.34.20:10705/file/upload/', // test
method
:
'POST'
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/cau-hinh-doi-tac-truyen-thong/index.vue
View file @
ac036a7c
...
...
@@ -408,9 +408,9 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
// url: 'https://cms.vab.vn/file/upload/',
// pro
url
:
'http://103.147.34.20:10705/file/upload/'
,
// test
url
:
'https://cms.vab.vn/file/upload/'
,
// pro
//
url: 'http://103.147.34.20:10705/file/upload/', // test
method
:
'POST'
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/cau-hinh-san-pham-noi-bat/index.vue
View file @
ac036a7c
...
...
@@ -468,9 +468,9 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
// url: 'https://cms.vab.vn/file/upload/',
// pro
url
:
'http://103.147.34.20:10705/file/upload/'
,
// test
url
:
'https://cms.vab.vn/file/upload/'
,
// pro
//
url: 'http://103.147.34.20:10705/file/upload/', // test
method
:
'POST'
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/cau-hinh-tin-tuc/index.vue
View file @
ac036a7c
...
...
@@ -413,8 +413,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
// url: 'https://cms.vab.vn/file/upload/',
// pro
url
:
'http://103.147.34.20:10705/file/upload/'
,
// test
url
:
'https://cms.vab.vn/file/upload/'
,
// pro
//
url: 'http://103.147.34.20:10705/file/upload/', // test
method
:
'POST'
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/thong-tin-chung/index.vue
View file @
ac036a7c
...
...
@@ -284,8 +284,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
// url: 'https://cms.vab.vn/file/upload/',
// pro
url
:
'http://103.147.34.20:10705/file/upload/'
,
// test
url
:
'https://cms.vab.vn/file/upload/'
,
// pro
//
url: 'http://103.147.34.20:10705/file/upload/', // test
method
:
'POST'
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
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