// $currentInfo['content'] = strip_tags($currentInfo['content']);
if($currentInfo['content'])
$currentInfo['content']=htmlspecialchars_decode($currentInfo['content']);
//图片
$currentInfo['imgs'] = Db::name('member_case_pic')->where('case_id', $cid)->column('prepath');
//图片个数
$currentInfo['imgsCount'] = count($currentInfo['imgs']);
if (!$currentInfo) return $this->error("信息不存在");
//店铺信息
$shop = Db::name('member_shop')->field('shopname,shoplogo,shopmemo,shoptel,id')->where('id', $currentInfo['shopid'])->find();
//店铺其他信息
$otherInfo = Db::name('member_case')->alias('mc')
->field('ms.shopname,mc.id,mc.title,ms.vip,ms.shoptel,ms.shoplogo,mc.iftop,mc.vr,mc.click,mc.shopid,mc.prepath,IFNULL(c.name,mc.cname) as cname')
->join('community c', 'mc.cid=c.id', 'left')
->join('member_shop ms', 'ms.id=mc.shopid', 'left')
->where('mc.status', 1)
->where('mc.shopid', $currentInfo['shopid'])
->where('mc.id', '<>', $cid)
->where("ms.closetime=0 or ms.closetime>{$currentTime}")