Commit bd72eec2 by FE

bargain share param modify

parent 2aa020c5
......@@ -68,7 +68,7 @@ class BargainMiddlePage extends Component {
// 获取砍价信息
getBargainInfo = () => {
// is_originator 来源,0-PC端扫码 1-M端分享 2-APP端分享
http.get(`${API.home}/m/bargain/info?bargaincode=${getParam('bargaincode')}&is_originator=${getParam('is_originator')}`).then((res) => {
if (res.data.code === 200) {
this.setState(
......@@ -322,6 +322,8 @@ class BargainMiddlePage extends Component {
// 邀请好友砍价
shareFriendBargain = () => {
const { history } = this.props;
history.push(`/bargain-middle-page?id=${getParam('id')}&bargaincode=${getParam('bargaincode')}&is_originator=1`);
this.setState({
isShowOverlay: true,
status: 7,
......
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