作者 anyv
1 个管道 的构建 通过 耗费 0 秒

9

... ... @@ -171,6 +171,9 @@ class SalesmangoodsController extends WeChatBaseController{
$id = $this -> request -> param();
$goods_data = Db::name('goods') -> where('id',$id['goods_id']) -> find();
$goods_data['det_img'] = json_decode($goods_data['det_img'],true);
foreach ($goods_data['det_img'] as $key => $val){
$goods_data['det_img'][$key] = cmf_get_image_url($goods_data['det_img'][$key]);
}
$this -> assign('goods_data',$goods_data);
return $this -> fetch();
}
... ...