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
接口:/?s=buy/index.html windows环境上post的参数是这样的:buy_type=goods&goods_data=W3siZ29vZHNfaWQiOjExLCJzdG9jayI6MSwic3BlYyI6W3sidHlwZSI6IuWwuueggSIsInZhbHVlIjoiTCJ9XX1d 能正常进入下单页面
同样代码在linux环境上post的参数是这样的: goods_id=9&buy_type=goods&stock=1&spec=%5B%7B%22type%22%3A%22%E9%A2%9C%E8%89%B2%22%2C%22value%22%3A%22%E7%B2%89%E8%89%B2%22%7D%2C%7B%22type%22%3A%22%E5%B0%BA%E7%A0%81%22%2C%22value%22%3A%22L%22%7D%5D
提示“商品信息为空”,不能正常进入下单页面
看代码 app/index/controller/Buy.php 70行,有判断下单参数是否有加密参数goods_data,若没有就会报“商品信息为空”
两环境上的商城后台设置是一样的,不明白哪出问题了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
接口:/?s=buy/index.html
windows环境上post的参数是这样的:buy_type=goods&goods_data=W3siZ29vZHNfaWQiOjExLCJzdG9jayI6MSwic3BlYyI6W3sidHlwZSI6IuWwuueggSIsInZhbHVlIjoiTCJ9XX1d
能正常进入下单页面
同样代码在linux环境上post的参数是这样的:
goods_id=9&buy_type=goods&stock=1&spec=%5B%7B%22type%22%3A%22%E9%A2%9C%E8%89%B2%22%2C%22value%22%3A%22%E7%B2%89%E8%89%B2%22%7D%2C%7B%22type%22%3A%22%E5%B0%BA%E7%A0%81%22%2C%22value%22%3A%22L%22%7D%5D
提示“商品信息为空”,不能正常进入下单页面
看代码
app/index/controller/Buy.php
70行,有判断下单参数是否有加密参数goods_data,若没有就会报“商品信息为空”
两环境上的商城后台设置是一样的,不明白哪出问题了
The text was updated successfully, but these errors were encountered: