Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
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
王立鹏
corporate-culture-qd
Commits
ff6ba541
Commit
ff6ba541
authored
May 13, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 22051】 chore: 修改重定向域名
parent
6980fdac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.ts
src/api/common/index.ts
+1
-1
index.vue
src/views/publishVideo/index.vue
+2
-2
No files found.
src/api/common/index.ts
View file @
ff6ba541
...
...
@@ -5,7 +5,7 @@ import { storeToRefs } from 'pinia'
import
type
{
UploadFileResponseItem
,
ChunkCheckResponse
}
from
'./types'
// 'https://oa.yswg.com.cn:8085'
export
const
OA_UPLOAD_CHUNK_BASE_URL
=
'https://nas1.yswg.top:8088'
const
OA_UPLOAD_CHUNK_BASE_URL
=
'https://nas1.yswg.top:8088'
const
OA_UPLOAD_COMMON_BASE_URL
=
'http://47.112.96.71:8082'
const
CHUNK_UPLOAD_THRESHOLD
=
10
*
1024
*
1024
const
CHUNK_SIZE
=
5
*
1024
*
1024
...
...
src/views/publishVideo/index.vue
View file @
ff6ba541
...
...
@@ -385,7 +385,7 @@
import
UploadVideo
from
'@/components/common/UploadVideo/index.vue'
import
{
useResetData
}
from
'@/hooks'
import
{
ArticleTypeEnum
,
ReleaseStatusTypeEnum
,
SendTypeEnum
,
BooleanFlag
}
from
'@/constants'
import
{
addOrUpdateArticle
,
uploadFile
,
getArticleDetail
,
OA_UPLOAD_CHUNK_BASE_URL
}
from
'@/api'
import
{
addOrUpdateArticle
,
uploadFile
,
getArticleDetail
}
from
'@/api'
import
SelectTags
from
'@/components/common/SelectTags/index.vue'
import
type
{
TagItemDto
,
AddOrUpdateVideoDto
}
from
'@/api'
import
{
useVideoStore
,
useUserStore
}
from
'@/stores'
...
...
@@ -650,7 +650,7 @@ const handleFileChange = async (e: Event) => {
// 防止跨域
const
parseUrl
=
(
url
:
string
)
=>
{
return
OA_UPLOAD_CHUNK_BASE_URL
+
'/oa/nfs'
+
new
URL
(
url
).
pathname
.
replace
(
'/database'
,
''
)
return
'https://vikijin.site:8088'
+
'/oa/nfs'
+
new
URL
(
url
).
pathname
.
replace
(
'/database'
,
''
)
}
onDeactivated
(()
=>
{
...
...
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