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
6e782935
Commit
6e782935
authored
Sep 27, 2024
by
郑晓
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_group_buying_240923' into 'master'
Fix group buying 240923 See merge request
!6
parents
37680c1d
1980c8b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
config.js
src/config.js
+5
-5
web.vue
src/pages/web/web.vue
+6
-1
No files found.
src/config.js
View file @
6e782935
...
...
@@ -7,13 +7,13 @@ let ydlH5Prefix
if
(
isDevelopment
)
{
// // 开发
hostPrefix
=
'https://testnewm.ydl.com'
// hostPrefix = 'http://192.168.211.138'
apiPrefix
=
'https://testapi.ydl.com'
//
hostPrefix = 'https://testnewm.ydl.com'
//
//
hostPrefix = 'http://192.168.211.138'
//
apiPrefix = 'https://testapi.ydl.com'
// 下云
//
hostPrefix = 'https://newm-test.ydl.com' // 下云
//
apiPrefix = 'https://api-test.ydl.com' // 下云
hostPrefix
=
'https://newm-test.ydl.com'
// 下云
apiPrefix
=
'https://api-test.ydl.com'
// 下云
h2Prefix
=
'https://h2.yidianling.com'
ydlH5Prefix
=
'https://testh5.ydl.com'
...
...
src/pages/web/web.vue
View file @
6e782935
...
...
@@ -219,9 +219,14 @@ export default {
.
finally
(()
=>
(
this
.
loading
=
false
))
if
(
res
)
{
let
url
=
''
// `${hostPrefix}/h5-course/pay/groupSuccess?replace=1&courseId=${res.productId}&groupRecordId=${res.recordId}`
// https://testnewm.ydl.com/h5-course/detail/7529
const
url
=
`
${
hostPrefix
}
/h5-course/pay/groupSuccess?replace=1&courseId=
${
res
.
productId
}
&groupRecordId=
${
res
.
recordId
}
`
if
(
res
.
jumpBusinessType
===
5
)
{
url
=
`
${
hostPrefix
}
/h5-course/detail/
${
res
.
productId
}
`
}
else
{
url
=
`
${
hostPrefix
}
/h5-course/pay/groupSuccess?replace=1&courseId=
${
res
.
productId
}
&groupRecordId=
${
res
.
recordId
}
`
}
// productId 商品id
// activityId 拼团活动id
...
...
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