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
2c1a94f5
Commit
2c1a94f5
authored
Nov 05, 2022
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5186da20
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
18 deletions
+18
-18
configurations.example.ts
src/assets/configurations.example.ts
+4
-4
index.vue
src/components/detailBooking/tableDeposit/index.vue
+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
+2
-2
index.vue
src/pages/thong-tin-chung/index.vue
+2
-2
No files found.
src/assets/configurations.example.ts
View file @
2c1a94f5
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/components/detailBooking/tableDeposit/index.vue
View file @
2c1a94f5
...
...
@@ -267,8 +267,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
,
...
...
src/pages/bai-viet/index.vue
View file @
2c1a94f5
...
...
@@ -461,8 +461,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
,
...
...
src/pages/banner/index.vue
View file @
2c1a94f5
...
...
@@ -400,8 +400,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
,
...
...
src/pages/cau-hinh-doi-tac-truyen-thong/index.vue
View file @
2c1a94f5
...
...
@@ -408,8 +408,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
,
...
...
src/pages/cau-hinh-san-pham-noi-bat/index.vue
View file @
2c1a94f5
...
...
@@ -468,8 +468,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
,
...
...
src/pages/cau-hinh-tin-tuc/index.vue
View file @
2c1a94f5
...
...
@@ -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 @
2c1a94f5
...
...
@@ -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