mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 06:50:51 +00:00
商品评论显示规格
This commit is contained in:
parent
40b44c12ba
commit
ace0ddf87d
@ -216,7 +216,7 @@ class StoreProductReplyServices extends BaseServices
|
||||
[$page, $limit] = $this->getPageValue();
|
||||
$list = $this->dao->replyList($id, $type, $page, $limit);
|
||||
foreach ($list as &$item) {
|
||||
$item['suk'] = isset($item['cart_info']['productInfo']['attrInfo']) ? $item['cart_info']['productInfo']['attrInfo']['suk'] : '';
|
||||
$item['suk'] = $item['suk'] != '' ? $item['suk'] : (isset($item['cart_info']['productInfo']['attrInfo']) ? $item['cart_info']['productInfo']['attrInfo']['suk'] : '');
|
||||
$item['nickname'] = anonymity($item['nickname']);
|
||||
$item['merchant_reply_time'] = date('Y-m-d H:i', $item['merchant_reply_time']);
|
||||
$item['add_time'] = time_tran($item['add_time']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user