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

4

... ... @@ -170,7 +170,7 @@ class SalesmangoodsController extends WeChatBaseController{
}else{
$id = $this -> request -> param();
$goods_data = Db::name('goods') -> where('id',$id['goods_id']) -> find();
$goods_data['det_img'] = explode(',',$goods_data['det_img']);
$goods_data['det_img'] = json_decode($goods_data['det_img'],true);
$this -> assign('goods_data',$goods_data);
return $this -> fetch();
}
... ...