Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-group-course
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
黄志
ydl-group-course
Commits
1980c8b6
Commit
1980c8b6
authored
Sep 27, 2024
by
zhengxiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(custom):
拼团扫码优化
parent
3b060a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
config.js
src/config.js
+5
-5
web.vue
src/pages/web/web.vue
+1
-1
No files found.
src/config.js
View file @
1980c8b6
...
@@ -7,13 +7,13 @@ let ydlH5Prefix
...
@@ -7,13 +7,13 @@ let ydlH5Prefix
if
(
isDevelopment
)
{
if
(
isDevelopment
)
{
// // 开发
// // 开发
hostPrefix
=
'https://testnewm.ydl.com'
//
hostPrefix = 'https://testnewm.ydl.com'
// hostPrefix = 'http://192.168.211.138'
//
//
hostPrefix = 'http://192.168.211.138'
apiPrefix
=
'https://testapi.ydl.com'
//
apiPrefix = 'https://testapi.ydl.com'
// 下云
// 下云
//
hostPrefix = 'https://newm-test.ydl.com' // 下云
hostPrefix
=
'https://newm-test.ydl.com'
// 下云
//
apiPrefix = 'https://api-test.ydl.com' // 下云
apiPrefix
=
'https://api-test.ydl.com'
// 下云
h2Prefix
=
'https://h2.yidianling.com'
h2Prefix
=
'https://h2.yidianling.com'
ydlH5Prefix
=
'https://testh5.ydl.com'
ydlH5Prefix
=
'https://testh5.ydl.com'
...
...
src/pages/web/web.vue
View file @
1980c8b6
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
let
url
=
''
let
url
=
''
// `${hostPrefix}/h5-course/pay/groupSuccess?replace=1&courseId=${res.productId}&groupRecordId=${res.recordId}`
// `${hostPrefix}/h5-course/pay/groupSuccess?replace=1&courseId=${res.productId}&groupRecordId=${res.recordId}`
// https://testnewm.ydl.com/h5-course/detail/7529
// https://testnewm.ydl.com/h5-course/detail/7529
if
(
scene
===
'5'
)
{
if
(
res
.
jumpBusinessType
===
5
)
{
url
=
`
${
hostPrefix
}
/h5-course/detail/
${
res
.
productId
}
`
url
=
`
${
hostPrefix
}
/h5-course/detail/
${
res
.
productId
}
`
}
else
{
}
else
{
url
=
`
${
hostPrefix
}
/h5-course/pay/groupSuccess?replace=1&courseId=
${
res
.
productId
}
&groupRecordId=
${
res
.
recordId
}
`
url
=
`
${
hostPrefix
}
/h5-course/pay/groupSuccess?replace=1&courseId=
${
res
.
productId
}
&groupRecordId=
${
res
.
recordId
}
`
...
...
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