From 27864f0b605d7fe4866fb0fca96ec77c72729fe6 Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Fri, 31 May 2019 13:38:58 +0800 Subject: [PATCH] 商品详情 --- app/portal/controller/GoodsdetailsController.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/portal/controller/GoodsdetailsController.php b/app/portal/controller/GoodsdetailsController.php index 4e7464d..34a39c2 100644 --- a/app/portal/controller/GoodsdetailsController.php +++ b/app/portal/controller/GoodsdetailsController.php @@ -26,6 +26,7 @@ class GoodsdetailsController extends WeChatBaseController{ $data['price1'] = $price[1]; $data['pricing0'] = $pricing[0]; $data['pricing1'] = $pricing[1]; + $data['det_img'] = json_decode($data['det_img'],true); dump($data);die; $this -> assign('data',$data); return $this -> fetch(); -- libgit2 0.24.0