Commit 4f1bde97 by wangshuo

单集购买

parent 5fc39857
...@@ -43,7 +43,7 @@ class Single extends Component { ...@@ -43,7 +43,7 @@ class Single extends Component {
// 确定购买 // 确定购买
toBuy = () => { toBuy = () => {
http.get(`${API.home}/sys/createClassOrder/${this.props.videoId}`).then((res) => { http.get(`${API.home}/sys/createClassOrder/${this.props.data.video_id}`).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.setState({ this.setState({
orderId: res.data.data.order_id orderId: res.data.data.order_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