|
@@ -155,6 +155,7 @@ export default defineComponent({
|
|
async getOrderPayType() {
|
|
async getOrderPayType() {
|
|
try {
|
|
try {
|
|
const orderObject = orderStatus.orderObject
|
|
const orderObject = orderStatus.orderObject
|
|
|
|
+ console.log(orderObject)
|
|
let bizId =
|
|
let bizId =
|
|
orderObject.orderList.length > 0 ? orderObject.orderList[0].id : ''
|
|
orderObject.orderList.length > 0 ? orderObject.orderList[0].id : ''
|
|
if (orderObject.orderType === 'PRACTICE') {
|
|
if (orderObject.orderType === 'PRACTICE') {
|
|
@@ -163,6 +164,12 @@ export default defineComponent({
|
|
? orderObject.orderList[0].teacherId
|
|
? orderObject.orderList[0].teacherId
|
|
: ''
|
|
: ''
|
|
}
|
|
}
|
|
|
|
+ if (orderObject.orderType === 'LIVE') {
|
|
|
|
+ bizId =
|
|
|
|
+ orderObject.orderList.length > 0
|
|
|
|
+ ? orderObject.orderList[0].courseGroupId
|
|
|
|
+ : ''
|
|
|
|
+ }
|
|
const { data } = await request.post(
|
|
const { data } = await request.post(
|
|
state.platformApi + '/userOrder/orderPayType',
|
|
state.platformApi + '/userOrder/orderPayType',
|
|
{
|
|
{
|