Commit 17bb8938 by FE

to togroup param modify ant to course detial modify

parent c33a9af3
...@@ -2,12 +2,13 @@ import React, { Component } from 'react' ...@@ -2,12 +2,13 @@ import React, { Component } from 'react'
import './togroup.scss' import './togroup.scss'
import { HeaderBar, VList } from '../../../common' import { HeaderBar, VList } from '../../../common'
import { api, getParam, http, browser} from "@/utils"; import { getParam, http, browser} from "@/utils";
import { connect } from "react-redux" import { connect } from "react-redux"
import { Link } from "react-router-dom" import { Link } from "react-router-dom"
import { WingBlank, WhiteSpace, Flex, Toast } from 'antd-mobile' import { WingBlank, WhiteSpace, Flex, Toast } from 'antd-mobile'
import {getCourses} from './../../detail/actions';
@connect()
class ToGroup extends Component { class ToGroup extends Component {
constructor(props) { constructor(props) {
super(props) super(props)
......
...@@ -127,7 +127,7 @@ class Order extends Component { ...@@ -127,7 +127,7 @@ class Order extends Component {
if(res.data.errno === 200) { if(res.data.errno === 200) {
sessionStorage.removeItem('orderUseCacheObj'); sessionStorage.removeItem('orderUseCacheObj');
if (res.data.data.pay_jump === 1) { if (res.data.data.pay_jump === 1) {
this.props.history.push(`/togroup?id=${res.data.data.order_id}`); this.props.history.push(`/togroup?id=${res.data.data.oid}`);
return; return;
} }
this.props.history.replace(`/payorder?oid=${res.data.data.oid}`); this.props.history.replace(`/payorder?oid=${res.data.data.oid}`);
......
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