Commit 6e782935 by 郑晓

Merge branch 'fix_group_buying_240923' into 'master'

Fix group buying 240923

See merge request !6
parents 37680c1d 1980c8b6
......@@ -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'
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment