Commit 42515d66 by wangshuo

拼团不需支付时的流程

parent e143f410
......@@ -101,8 +101,8 @@ class Order extends Component {
http.post(`${API['base-api']}/pdd/m`, {course_id: getParam("id")}).then(res => {
if(res.data.errno === 200) {
sessionStorage.removeItem('orderUseCacheObj');
if (res.data.data.is_free === 1) {
this.props.history.push(`/togroup?id=${res.data.data.order_id}`);
if (res.data.data.pay_jump === 1) {
this.props.history.push(`/togroup?id=${res.data.data.pdd_order_id}`);
return;
}
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