作者 刘朕
1 个管道 的构建 通过 耗费 9 秒

商品选择修改

@@ -152,7 +152,7 @@ class MemberSalesController extends HomeBaseController @@ -152,7 +152,7 @@ class MemberSalesController extends HomeBaseController
152 $default = 0; 152 $default = 0;
153 foreach ($typeInfo['options'] as $k=>$v) { 153 foreach ($typeInfo['options'] as $k=>$v) {
154 // 获取商品选项,用于前台渲染 154 // 获取商品选项,用于前台渲染
155 - if($v['id'] == 19) { 155 + if($v['id'] == 58) {
156 $list = explode(',',$v['values']); 156 $list = explode(',',$v['values']);
157 foreach ($list as $kg=>$vg) { 157 foreach ($list as $kg=>$vg) {
158 $goodsInfo = [ 158 $goodsInfo = [
@@ -398,7 +398,7 @@ class MemberSalesController extends HomeBaseController @@ -398,7 +398,7 @@ class MemberSalesController extends HomeBaseController
398 $goodsList = []; 398 $goodsList = [];
399 foreach ($orderInfo['options'] as $k=>$v) { 399 foreach ($orderInfo['options'] as $k=>$v) {
400 // 获取商品选项,用于前台渲染 400 // 获取商品选项,用于前台渲染
401 - if($v['id'] == 19) { 401 + if($v['id'] == 58) {
402 $list = explode(',',$v['values']); 402 $list = explode(',',$v['values']);
403 foreach ($list as $kg=>$vg) { 403 foreach ($list as $kg=>$vg) {
404 $goodsInfo = [ 404 $goodsInfo = [