mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
细节优化
This commit is contained in:
@ -67,7 +67,7 @@ class Buy extends Common
|
||||
|
||||
// 获取下单信息
|
||||
$buy_data = MySession('buy_post_data');
|
||||
if(empty($buy_data) || empty($buy_data['goods_data']))
|
||||
if(empty($buy_data) || (empty($buy_data['goods_data']) && empty($buy_data['ids'])))
|
||||
{
|
||||
MyViewAssign('msg', '商品信息为空');
|
||||
return MyView('public/tips_error');
|
||||
|
||||
Reference in New Issue
Block a user