作者 王晓刚
1 个管道 的构建 通过 耗费 3 秒

后台报错

@@ -73,6 +73,11 @@ class OrderSalesmanController extends WeChatBaseController @@ -73,6 +73,11 @@ class OrderSalesmanController extends WeChatBaseController
73 }else{ 73 }else{
74 $this->assign('school',''); 74 $this->assign('school','');
75 } 75 }
  76 + foreach ($data as $k=>$v) {
  77 + foreach ($v['indent_goods'] as $ki=>$vi) {
  78 + $data[$k]['indent_goods'][$ki]['thumbnail'] = cmf_get_image_url($vi['thumbnail']);
  79 + }
  80 + }
76 $this->assign('data',$data); 81 $this->assign('data',$data);
77 $this->assign('count',count($data)); 82 $this->assign('count',count($data));
78 return $this->fetch(); 83 return $this->fetch();