{{wikiTitle}}
积分商品编辑报错,编辑拼团商品报错 trim() expects parameter 1 to be string, array given(v5.6.2)
目录:
Q:创建好的积分商品编辑显示
trim() expects parameter 1 to be string, array given
修改解决
crmeb/app/adminapi/common.php

Q:积分商品修改后提交显示
Undefined index: add pic
目录crmeb/app/services/product/product/StoreProductServices.php

$attrValue[‘pic’] = isset($attr[‘add_pic’]) ? $attr[‘add_pic’] == 1 ? trim($attrValue[‘pic’]): ‘’:’’;
注意标点符号括号等
评论({{cateWiki.comment_num}})
{{commentWhere.order ? '评论从旧到新':'评论从新到旧'}}
{{cateWiki.page_view_num}}人看过该文档
评论(0)
{{commentWhere.order ? '评论从旧到新':'评论从新到旧'}}
178人看过该文档
{{item.user ? item.user.nickname : ''}}
(自评)
{{item.content}}
{{item.create_time}}
删除
搜索结果
为您找到{{wikiCount}}条结果
{{item.page_view_num}}
{{item.like ? item.like.like_num : 0}}
{{item.comment ? item.comment.comment_num : 0}}
位置:
{{path.name}}
{{(i+1) == item.catalogue.path_data.length ? '':'/'}}