正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -148,7 +148,7 @@ class OrderController extends HomeBaseController | @@ -148,7 +148,7 @@ class OrderController extends HomeBaseController | ||
148 | $orderInfo['options'] = json_decode($orderInfo['options'],true); | 148 | $orderInfo['options'] = json_decode($orderInfo['options'],true); |
149 | foreach ($orderInfo['options'] as $k=>$v) { | 149 | foreach ($orderInfo['options'] as $k=>$v) { |
150 | $optionsInfo = $this->singleData($this->option_table,['id'=>$v['id']]); | 150 | $optionsInfo = $this->singleData($this->option_table,['id'=>$v['id']]); |
151 | - if($optionsInfo['is_show'] == 1) { | 151 | + if($optionsInfo['is_show'] == 1 && !empty($v['user_choose'])) { |
152 | $v['name'] = $optionsInfo['name']; | 152 | $v['name'] = $optionsInfo['name']; |
153 | $v['html'] = $this->form_model($v); | 153 | $v['html'] = $this->form_model($v); |
154 | if($k <= 5) { | 154 | if($k <= 5) { |
-
请 注册 或 登录 后发表评论