We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
热门歌手上周已经不支持 h5了,小程序也不支持(http 只有 header 不一样) 博主有没有考虑过 hack 一下 不支持 h5 购买的歌手返回的 code,强制展示进行抢票功能,我这边测试了下貌似可行,但是不太确定 http 接口是否仍然能够 create order 成功
就是这里的逻辑
// src/components/dm/Product.vue // 修改前 else if(result.item.buyBtnStatus === "100") { // 不支持该渠道 Message.error(joinMsg([result.item.buyBtnText, result.item.buyBtnTips])) return } // 修改后 else if(result.item.buyBtnStatus === "100") { // 不支持该渠道 Message.warning("不支持该渠道,即将开启强制抢票模式"); countDownVal.value = Number(result.item.sellStartTime); if(countDownVal.value > Date.now()) { isPreSell.value = true isShowCountDown.value = true; } else { isPreSell.value = false } }
The text was updated successfully, but these errors were encountered:
ps. 抢票可以设置下间隔,不然貌似很容易失败
Sorry, something went wrong.
这个意思是虽然不支持h5,只是前端做了控制不让抢票,但是可以发请求用h5的接口去抢票?
这属于掩耳盗铃吧,既然禁用了,接口都需要传入渠道的,这个渠道就是 h5,现在把h5禁了,那么接口肯定不会接收 h5渠道的了
No branches or pull requests
热门歌手上周已经不支持 h5了,小程序也不支持(http 只有 header 不一样)
博主有没有考虑过 hack 一下 不支持 h5 购买的歌手返回的 code,强制展示进行抢票功能,我这边测试了下貌似可行,但是不太确定 http 接口是否仍然能够 create order 成功
就是这里的逻辑
The text was updated successfully, but these errors were encountered: