|
|
@ -59,6 +59,9 @@ class Goods extends Controller |
|
|
|
$param['store_id'] = $storeid; |
|
|
|
$param['store_id'] = $storeid; |
|
|
|
$model = new GoodsModel; |
|
|
|
$model = new GoodsModel; |
|
|
|
$goodsInfo = $model->getDetails($goodsId, $verifyStatus); |
|
|
|
$goodsInfo = $model->getDetails($goodsId, $verifyStatus); |
|
|
|
|
|
|
|
if (!empty($goodsInfo['content'])) { |
|
|
|
|
|
|
|
$goodsInfo['content'] = str_ireplace('onload="if(this.width>750){this.height=this.height*(750.0/this.width); this.width = 750;}', '', $goodsInfo['content']); |
|
|
|
|
|
|
|
} |
|
|
|
return $this->renderSuccess(['detail' => $goodsInfo]); |
|
|
|
return $this->renderSuccess(['detail' => $goodsInfo]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|